OSSP CVS Repository

ossp - Difference in ossp-pkg/lmtp2nntp/lmtp2nntp_main.c versions 1.77 and 1.78
Not logged in
[Honeypot]  [Browse]  [Home]  [Login]  [Reports
[Search]  [Ticket]  [Timeline
  [History

ossp-pkg/lmtp2nntp/lmtp2nntp_main.c 1.77 -> 1.78

--- lmtp2nntp_main.c     2004/04/02 10:25:47     1.77
+++ lmtp2nntp_main.c     2004/04/02 10:35:40     1.78
@@ -865,7 +865,7 @@
         logbook(ctx->l2, L2_LEVEL_NOTICE, "NNTP running in fake mode, network connections will be executed but result is ignored");
     i = 0;
     is = 0;
-    do {
+    while (i < ctx->nns) {
         logbook(ctx->l2, L2_LEVEL_DEBUG, "trying ns[%d]", i);
         bOk = TRUE;
         logbook(ctx->l2, L2_LEVEL_TRACE, "try destination#%d ${option.destination[%d]}", i, i);
@@ -921,7 +921,7 @@
             lmtp_gfs_ns(&ctx->pns[i]);
         }
         i++;
-    } while (i < ctx->nns);
+    }
     logbook(ctx->l2, L2_LEVEL_INFO, "NNTP network connections tried %d, successful %d", i, is);
 
     if (ctx->option_operationmode == OPERATIONMODE_FAKE)

CVSTrac 2.0.1