From b7e145bdf22387e6cba4b54099407102ff310967 Mon Sep 17 00:00:00 2001 From: Matthias Andree Date: Mon, 13 Mar 2006 20:17:09 +0000 Subject: add Mirek's fetchmail-lmtp.patch to fix an operator precedence bug '||' vs ',' svn path=/branches/BRANCH_6-3/; revision=4731 --- fetchmail.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'fetchmail.c') diff --git a/fetchmail.c b/fetchmail.c index f150e8da..868a45c1 100644 --- a/fetchmail.c +++ b/fetchmail.c @@ -1254,9 +1254,9 @@ static int load_params(int argc, char **argv, int optind) { char *cp; - if (!(cp = strrchr((char *)idp->id, '/')) || - ++cp, (0 == strcmp(cp, SMTP_PORT)) - || servport(cp) == SMTP_PORT_NUM) + if (!(cp = strrchr((char *)idp->id, '/')) + || (0 == strcmp(cp + 1, SMTP_PORT)) + || servport(cp + 1) == SMTP_PORT_NUM) { (void) fprintf(stderr, GT_("%s configuration invalid, LMTP can't use default SMTP port\n"), -- cgit v1.2.3