]> sjero.net Git - wget/commitdiff
host_errstr should return const char *.
authorMicah Cowan <micah@cowan.name>
Thu, 24 Sep 2009 18:50:07 +0000 (11:50 -0700)
committerMicah Cowan <micah@cowan.name>
Thu, 24 Sep 2009 18:50:07 +0000 (11:50 -0700)
src/ChangeLog
src/host.c

index 025b199c765c91969520b23c85093214c5ac219e..e6be4bf366dd2c173f070b4d25cc0b5c116801f8 100644 (file)
@@ -1,3 +1,7 @@
+2009-09-24  Micah Cowan  <micah@cowan.name>
+
+       * host.c (host_errstr): host_errstr should return const char *.
+
 2009-09-22  Micah Cowan  <micah@cowan.name>
 
        * Makefile.am (version.c): Explicitly tell Mercurial where the
index dffb5a65ac5408c7ff648f6756d34fa9703f91e3..a660c5a0646d084f7d277a9aba1d9648210a9533 100644 (file)
@@ -345,7 +345,7 @@ gethostbyname_with_timeout (const char *host_name, double timeout)
 }
 
 /* Print error messages for host errors.  */
-static char *
+static const char *
 host_errstr (int error)
 {
   /* Can't use switch since some of these constants can be equal,