diff options
author | Darren Tucker <dtucker@zip.com.au> | 2007-12-29 02:43:51 +1100 |
---|---|---|
committer | Darren Tucker <dtucker@zip.com.au> | 2007-12-29 02:43:51 +1100 |
commit | 4abde771b73f3a54780ff3dedf59f57f94298870 (patch) | |
tree | 7973cf3fd2910dac0e8db591f690750d19fd4421 /misc.h | |
parent | 88b976f214e14da4ec29a7516d02c0141c8ef597 (diff) |
- dtucker@cvs.openbsd.org 2007/12/27 14:22:08
[servconf.c canohost.c misc.c channels.c sshconnect.c misc.h ssh-keyscan.c
sshd.c]
Add a small helper function to consistently handle the EAI_SYSTEM error
code of getaddrinfo. Prompted by vgiffin at apple com via bz #1417.
ok markus@ stevesk@
Diffstat (limited to 'misc.h')
-rw-r--r-- | misc.h | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: misc.h,v 1.36 2006/08/18 10:27:16 djm Exp $ */ | 1 | /* $OpenBSD: misc.h,v 1.37 2007/12/27 14:22:08 dtucker Exp $ */ |
2 | 2 | ||
3 | /* | 3 | /* |
4 | * Author: Tatu Ylonen <ylo@cs.hut.fi> | 4 | * Author: Tatu Ylonen <ylo@cs.hut.fi> |
@@ -35,6 +35,7 @@ char *tohex(const void *, size_t); | |||
35 | void sanitise_stdfd(void); | 35 | void sanitise_stdfd(void); |
36 | 36 | ||
37 | struct passwd *pwcopy(struct passwd *); | 37 | struct passwd *pwcopy(struct passwd *); |
38 | const char *ssh_gai_strerror(int); | ||
38 | 39 | ||
39 | typedef struct arglist arglist; | 40 | typedef struct arglist arglist; |
40 | struct arglist { | 41 | struct arglist { |