]> code.citadel.org Git - citadel.git/commitdiff
* remove extraneous break statements
authorArt Cancro <ajc@citadel.org>
Sat, 26 Apr 2003 05:21:47 +0000 (05:21 +0000)
committerArt Cancro <ajc@citadel.org>
Sat, 26 Apr 2003 05:21:47 +0000 (05:21 +0000)
citadel/serv_smtp.c
citadel/serv_spam.c

index 992ed676f1132523615d349739579bd207b14b0e..d5b4106d3a9da2ecccc0baa3052ff14505dfd00c 100644 (file)
@@ -761,7 +761,6 @@ void smtp_try(const char *key, const char *addr, int *status,
                snprintf(dsn, SIZ, "Could not connect: %s", strerror(errno));
                if (sock >= 0) lprintf(9, "Connected!\n");
                if (sock < 0) snprintf(dsn, SIZ, "%s", strerror(errno));
-               if (sock >= 0) break;
        }
 
        if (sock < 0) {
index 6922b0f091653260982441e0a71cd88545cf1fec..c322f77f5373dfa6f5d903dac0a0b24ce8351697 100644 (file)
@@ -121,7 +121,6 @@ int spam_assassin(struct CtdlMessage *msg) {
                 lprintf(9, "Connecting to SpamAssassin at <%s>\n", buf);
                 sock = sock_connect(buf, SPAMASSASSIN_PORT, "tcp");
                 if (sock >= 0) lprintf(9, "Connected!\n");
-                if (sock >= 0) break;
         }
 
        if (sock < 0) {