]> Pileus Git - ~andy/fetchmail/commitdiff
Fix compiler warning.
authorMatthias Andree <matthias.andree@gmx.de>
Sun, 31 Jul 2005 14:03:24 +0000 (14:03 -0000)
committerMatthias Andree <matthias.andree@gmx.de>
Sun, 31 Jul 2005 14:03:24 +0000 (14:03 -0000)
svn path=/trunk/; revision=4207

transact.c

index 46f12d3fb06cc7f8f337d856b04bf603f5c45e7c..8dfa7b2db41b77d760f43bd13672669c2f97df3a 100644 (file)
@@ -989,7 +989,7 @@ int readheaders(int sock,
        else if (resent_from_offs >= 0 && (ap = nxtaddr(msgblk.headers + resent_from_offs)));
        else if (from_offs >= 0 && (ap = nxtaddr(msgblk.headers + from_offs)));
        else if (reply_to_offs >= 0 && (ap = nxtaddr(msgblk.headers + reply_to_offs)));
-       else if (app_from_offs >= 0 && (ap = nxtaddr(msgblk.headers + app_from_offs)));
+       else if (app_from_offs >= 0 && (ap = nxtaddr(msgblk.headers + app_from_offs))) {}
        /* multi-line MAIL FROM addresses confuse SMTP terribly */
        if (ap && !strchr(ap, '\n')) {
            strncpy(msgblk.return_path, ap, sizeof(msgblk.return_path));