summaryrefslogtreecommitdiff
path: root/sshconnect.c
diff options
context:
space:
mode:
authorBen Lindstrom <mouring@eviladmin.org>2002-06-09 20:16:22 +0000
committerBen Lindstrom <mouring@eviladmin.org>2002-06-09 20:16:22 +0000
commit2749e1c8f55f947673a6591b1a6698a75f143b80 (patch)
tree25edf06c0caa745121087bf64af8ed2c12e4e5e2 /sshconnect.c
parent159ac2e8cd9fb69c21916bdf5f742eccbb4f2695 (diff)
- markus@cvs.openbsd.org 2002/06/09 04:33:27
[sshconnect.c] abort() - > fatal()
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 9444e3cf..369b31df 100644
--- a/sshconnect.c
+++ b/sshconnect.c
@@ -13,7 +13,7 @@
*/
#include "includes.h"
-RCSID("$OpenBSD: sshconnect.c,v 1.121 2002/06/08 21:15:27 itojun Exp $");
+RCSID("$OpenBSD: sshconnect.c,v 1.122 2002/06/09 04:33:27 markus Exp $");
#include <openssl/bn.h>
@@ -50,7 +50,7 @@ sockaddr_ntop(struct sockaddr *sa)
if (getnameinfo(sa, sa->sa_len, addrbuf, sizeof(addrbuf), NULL, 0,
NI_NUMERICHOST) != 0)
- abort(); /* XXX abort is bad -- do something else */
+ fatal("sockaddr_ntop: getnameinfo NI_NUMERICHOST failed");
return addrbuf;
}