update copyright for 2014 year bump
[gnulib.git] / lib / canon-host.c
index df9cbbf..862a701 100644 (file)
@@ -1,6 +1,6 @@
 /* Host name canonicalization
 
-   Copyright (C) 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
+   Copyright (C) 2005-2014 Free Software Foundation, Inc.
 
    Written by Derek Price <derek@ximbiot.com>.
 
@@ -69,11 +69,11 @@ canon_host_r (char const *host, int *cherror)
   if (!status)
     {
       /* http://lists.gnu.org/archive/html/bug-coreutils/2006-09/msg00300.html
-        says Darwin 7.9.0 getaddrinfo returns 0 but sets
-        res->ai_canonname to NULL.  */
+         says Darwin 7.9.0 getaddrinfo returns 0 but sets
+         res->ai_canonname to NULL.  */
       retval = strdup (res->ai_canonname ? res->ai_canonname : host);
       if (!retval && cherror)
-       *cherror = EAI_MEMORY;
+        *cherror = EAI_MEMORY;
       freeaddrinfo (res);
     }
   else if (cherror)