chiark / gitweb /
print sensible failure message
authorIan Jackson <ian@liberator.relativity.greenend.org.uk>
Thu, 29 Apr 2010 00:03:38 +0000 (01:03 +0100)
committerIan Jackson <ian@liberator.relativity.greenend.org.uk>
Thu, 29 Apr 2010 00:03:38 +0000 (01:03 +0100)
backends/innduct.c

index ddd9267..288c9dc 100644 (file)
@@ -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)