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:
parent
5511220638
commit
37f915419b
@ -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
|
||||
|
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user