summaryrefslogtreecommitdiff
path: root/sshconnect.c
diff options
context:
space:
mode:
Diffstat (limited to 'sshconnect.c')
-rw-r--r--sshconnect.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sshconnect.c b/sshconnect.c
index 9444e3cf2..369b31dfe 100644
--- a/sshconnect.c
+++ b/sshconnect.c
@@ -13,7 +13,7 @@
13 */ 13 */
14 14
15#include "includes.h" 15#include "includes.h"
16RCSID("$OpenBSD: sshconnect.c,v 1.121 2002/06/08 21:15:27 itojun Exp $"); 16RCSID("$OpenBSD: sshconnect.c,v 1.122 2002/06/09 04:33:27 markus Exp $");
17 17
18#include <openssl/bn.h> 18#include <openssl/bn.h>
19 19
@@ -50,7 +50,7 @@ sockaddr_ntop(struct sockaddr *sa)
50 50
51 if (getnameinfo(sa, sa->sa_len, addrbuf, sizeof(addrbuf), NULL, 0, 51 if (getnameinfo(sa, sa->sa_len, addrbuf, sizeof(addrbuf), NULL, 0,
52 NI_NUMERICHOST) != 0) 52 NI_NUMERICHOST) != 0)
53 abort(); /* XXX abort is bad -- do something else */ 53 fatal("sockaddr_ntop: getnameinfo NI_NUMERICHOST failed");
54 return addrbuf; 54 return addrbuf;
55} 55}
56 56