diff options
author | Darren Tucker <dtucker@cvs.openbsd.org> | 2007-12-27 14:22:09 +0000 |
---|---|---|
committer | Darren Tucker <dtucker@cvs.openbsd.org> | 2007-12-27 14:22:09 +0000 |
commit | 3717a7bc7876c954b0819396bb18aed3f4c7159b (patch) | |
tree | ea1ad145eed94aebbd0f07d7965d575b00aab882 /usr.bin/ssh/misc.h | |
parent | f32f6ed7eeed1a84f69f7f790e84a93f5ea11a73 (diff) |
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 'usr.bin/ssh/misc.h')
-rw-r--r-- | usr.bin/ssh/misc.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.bin/ssh/misc.h b/usr.bin/ssh/misc.h index f175b4426e5..be05e806b16 100644 --- a/usr.bin/ssh/misc.h +++ b/usr.bin/ssh/misc.h @@ -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 { |