X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=lib%2Fcanon-host.c;h=df9cbbfb2ec331c5c47f35343ca468e97ff3c76c;hb=d1d75d5540bf75df8bc41c85b5a9fd111ca1f2dd;hp=c29f314314f4a457c64e5a997f22eee565b90d3e;hpb=ba6b2865caee98a973cfbb959ed8ebd82f4d74d2;p=gnulib.git diff --git a/lib/canon-host.c b/lib/canon-host.c index c29f31431..df9cbbfb2 100644 --- a/lib/canon-host.c +++ b/lib/canon-host.c @@ -1,29 +1,28 @@ /* Host name canonicalization - Copyright (C) 2005, 2006 Free Software Foundation, Inc. + Copyright (C) 2005, 2006, 2007, 2008 Free Software Foundation, Inc. Written by Derek Price . - This program is free software; you can redistribute it and/or - modify it under the terms of the GNU General Public License as - published by the Free Software Foundation; either version 2, or (at - your option) any later version. + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 3, or (at your option) + any later version. - This program is distributed in the hope that it will be useful, but - WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - General Public License for more details. + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software Foundation, - Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ + along with this program. If not, see . */ #include #include "canon-host.h" -#include "getaddrinfo.h" -#include "strdup.h" +#include +#include /* Store the last error for the single-threaded version of this function. */ static int last_cherror;