diff options
author | dtucker <dtucker> | 2007-12-28 15:43:51 +0000 |
---|---|---|
committer | dtucker <dtucker> | 2007-12-28 15:43:51 +0000 |
commit | 3dc41e8d9136ace9301c67db9f3985fe8112b4fe (patch) | |
tree | 88618edbfc9c1d82a8b9dff72121767e05e9a87e /misc.h | |
parent | 40d2e5ad4a0514d5fa63c1472e9a667e7f497c94 (diff) | |
download | openssh-3dc41e8d9136ace9301c67db9f3985fe8112b4fe.tar.gz |
- 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 @@ -/* $OpenBSD: misc.h,v 1.36 2006/08/18 10:27:16 djm Exp $ */ +/* $OpenBSD: misc.h,v 1.37 2007/12/27 14:22:08 dtucker Exp $ */ /* * Author: Tatu Ylonen <ylo@cs.hut.fi> @@ -35,6 +35,7 @@ char *tohex(const void *, size_t); void sanitise_stdfd(void); struct passwd *pwcopy(struct passwd *); +const char *ssh_gai_strerror(int); typedef struct arglist arglist; struct arglist { |