OSSP CVS Repository

ossp - Check-in [1945]
Not logged in
[Honeypot]  [Browse]  [Home]  [Login]  [Reports
[Search]  [Ticket]  [Timeline
  [Patchset]  [Tagging/Branching

Check-in Number: 1945
Date: 2002-Mar-05 15:17:39 (local)
2002-Mar-05 14:17:39 (UTC)
User:thl
Branch:
Comment: some things must be done by a formatter, not var_expand
Tickets:
Inspections:
Files:
ossp-pkg/lmtp2nntp/lmtp2nntp_main.c      1.46 -> 1.47     4 inserted, 4 deleted

ossp-pkg/lmtp2nntp/lmtp2nntp_main.c 1.46 -> 1.47

--- lmtp2nntp_main.c     2002/03/04 15:54:28     1.46
+++ lmtp2nntp_main.c     2002/03/05 14:17:39     1.47
@@ -786,7 +786,7 @@
     do {
         log1(ctx, DEBUG, "trying ns[%d]", i);
         bOk = TRUE;
-        log1(ctx, TRACE, "try ${option.destination}[${i}]", i); //FIXME
+        log1(ctx, TRACE, "try ${option.destination}[%d]", i); //FIXME
 
         ctx->pns[i].l2 = ctx->l2;
 
@@ -807,7 +807,7 @@
             log0(ctx, DEBUG, "connect");
             if (sa_connect(ctx->pns[i].sa, ctx->pns[i].saa) != SA_OK) {
                 bOk = FALSE;
-                log1(ctx, WARNING, "connect to ${option.destination}[${i}] failed, %m", i); //FIXME
+                log1(ctx, WARNING, "connect to ${option.destination}[%d] failed, %m", i); //FIXME
             }
         }
 
@@ -831,11 +831,11 @@
         }
 
         if (bOk) {
-            log1(ctx, INFO, "NNTP session to ${option.destination}[${i}] successfully established", i); //FIXME
+            log1(ctx, INFO, "NNTP session to ${option.destination}[%d] successfully established", i); //FIXME
             i++;
         }
         else {
-            log1(ctx, WARNING, "NNTP session establishment to ${option.destination}[${i}] failed", i); //FIXME
+            log1(ctx, WARNING, "NNTP session establishment to ${option.destination}[%d] failed", i); //FIXME
             log1(ctx, DEBUG, "FIXME-CURRENTLY-NOT removing ns[%d] from list", i);
             lmtp_gfs_ns(&ctx->pns[i]);
             /*FIXME #1 this code is a leftover from the static ns array with nsc counter

CVSTrac 2.0.1