From 391662917b3bd0bdd0f6a617894bb003c0a41664 Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Wed, 6 Nov 1996 04:41:58 +0000 Subject: Correct return test. svn path=/trunk/; revision=491 --- driver.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/driver.c b/driver.c index 81346e8d..096c5f2a 100644 --- a/driver.c +++ b/driver.c @@ -876,7 +876,7 @@ const struct method *proto; /* protocol method table */ /* open a socket to the mail server */ if ((sockfp = Socket(ctl->servername, - ctl->port ? ctl->port : protocol->port))<0) + ctl->port ? ctl->port : protocol->port)) == NULL) { perror("fetchmail, connecting to host"); ok = PS_SOCKET; -- cgit v1.2.3