diff options
author | Damien Miller <djm@mindrot.org> | 2003-02-24 12:35:08 +1100 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2003-02-24 12:35:08 +1100 |
commit | 30947c72878e2dd1e6cf614d73bae226ab863b60 (patch) | |
tree | 0323f87eaf0bd6175077697f08005c582fdae3b1 /openbsd-compat/fake-getaddrinfo.c | |
parent | d194048f573136f1c2c34d25f951b78f4ffc7d77 (diff) |
- (djm) Bug #501: gai_strerror should return char*;
fix from dtucker@zip.com.au
Diffstat (limited to 'openbsd-compat/fake-getaddrinfo.c')
-rw-r--r-- | openbsd-compat/fake-getaddrinfo.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/openbsd-compat/fake-getaddrinfo.c b/openbsd-compat/fake-getaddrinfo.c index 2a2f269cb..e04776606 100644 --- a/openbsd-compat/fake-getaddrinfo.c +++ b/openbsd-compat/fake-getaddrinfo.c | |||
@@ -12,10 +12,10 @@ | |||
12 | #include "includes.h" | 12 | #include "includes.h" |
13 | #include "ssh.h" | 13 | #include "ssh.h" |
14 | 14 | ||
15 | RCSID("$Id: fake-getaddrinfo.c,v 1.3 2003/02/05 23:50:42 djm Exp $"); | 15 | RCSID("$Id: fake-getaddrinfo.c,v 1.4 2003/02/24 01:35:09 djm Exp $"); |
16 | 16 | ||
17 | #ifndef HAVE_GAI_STRERROR | 17 | #ifndef HAVE_GAI_STRERROR |
18 | const char *gai_strerror(int ecode) | 18 | char *gai_strerror(int ecode) |
19 | { | 19 | { |
20 | switch (ecode) { | 20 | switch (ecode) { |
21 | case EAI_NODATA: | 21 | case EAI_NODATA: |