]> sjero.net Git - wget/blobdiff - src/host.c
host_errstr should return const char *.
[wget] / src / host.c
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,