From 30947c72878e2dd1e6cf614d73bae226ab863b60 Mon Sep 17 00:00:00 2001 From: Damien Miller Date: Mon, 24 Feb 2003 12:35:08 +1100 Subject: - (djm) Bug #501: gai_strerror should return char*; fix from dtucker@zip.com.au --- openbsd-compat/fake-getaddrinfo.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'openbsd-compat/fake-getaddrinfo.c') 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 @@ #include "includes.h" #include "ssh.h" -RCSID("$Id: fake-getaddrinfo.c,v 1.3 2003/02/05 23:50:42 djm Exp $"); +RCSID("$Id: fake-getaddrinfo.c,v 1.4 2003/02/24 01:35:09 djm Exp $"); #ifndef HAVE_GAI_STRERROR -const char *gai_strerror(int ecode) +char *gai_strerror(int ecode) { switch (ecode) { case EAI_NODATA: -- cgit v1.2.3