1
0
mirror of https://github.com/moparisthebest/wget synced 2024-07-03 16:38:41 -04:00

host_errstr should return const char *.

This commit is contained in:
Micah Cowan 2009-09-24 11:50:07 -07:00
parent 5511220638
commit 37f915419b
2 changed files with 5 additions and 1 deletions

View 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

View 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,