mirror of
git://anongit.mindrot.org/openssh.git
synced 2025-03-04 05:38:39 +00:00
- (djm) Bug #501: gai_strerror should return char*;
fix from dtucker@zip.com.au
This commit is contained in:
parent
d194048f57
commit
30947c7287
@ -79,6 +79,8 @@
|
||||
...sizeof(&adat.session) is not good here.
|
||||
henning@, deraadt@, millert@
|
||||
- (djm) Add new object files to Makefile and reorder
|
||||
- (djm) Bug #501: gai_strerror should return char*;
|
||||
fix from dtucker@zip.com.au
|
||||
|
||||
20030211
|
||||
- (djm) Cygwin needs libcrypt too. Patch from vinschen@redhat.com
|
||||
@ -1179,4 +1181,4 @@
|
||||
save auth method before monitor_reset_key_state(); bugzilla bug #284;
|
||||
ok provos@
|
||||
|
||||
$Id: ChangeLog,v 1.2616 2003/02/24 01:18:46 djm Exp $
|
||||
$Id: ChangeLog,v 1.2617 2003/02/24 01:35:08 djm Exp $
|
||||
|
@ -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:
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $Id: fake-getaddrinfo.h,v 1.3 2003/02/05 23:50:43 djm Exp $ */
|
||||
/* $Id: fake-getaddrinfo.h,v 1.4 2003/02/24 01:35:09 djm Exp $ */
|
||||
|
||||
#ifndef _FAKE_GETADDRINFO_H
|
||||
#define _FAKE_GETADDRINFO_H
|
||||
@ -37,7 +37,7 @@ int getaddrinfo(const char *hostname, const char *servname,
|
||||
#endif /* !HAVE_GETADDRINFO */
|
||||
|
||||
#ifndef HAVE_GAI_STRERROR
|
||||
const char *gai_strerror(int ecode);
|
||||
char *gai_strerror(int ecode);
|
||||
#endif /* !HAVE_GAI_STRERROR */
|
||||
|
||||
#ifndef HAVE_FREEADDRINFO
|
||||
|
Loading…
Reference in New Issue
Block a user