From be4bd35463e1678b5642ef008e80813ddccbed60 Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Thu, 29 Apr 2010 01:03:38 +0100 Subject: [PATCH] print sensible failure message --- backends/innduct.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backends/innduct.c b/backends/innduct.c index ddd9267..288c9dc 100644 --- a/backends/innduct.c +++ b/backends/innduct.c @@ -1268,7 +1268,7 @@ static void connect_start(void) { alarm(connection_setup_timeout); if (NNTPconnect((char*)remote_host, port, &cn_from, &cn_to, buf) < 0) { - if (buf[0]) fatal("connect: rejected: %s", sanitise(buf)); + if (buf[0]) fatal("connect: failed: %s", sanitise(buf)); else sysfatal("connect: connection attempt failed"); } if (NNTPsendpassword((char*)remote_host, cn_from, cn_to) < 0) -- 2.30.2