OSSP CVS Repository

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

ossp-pkg/lmtp2nntp/lmtp2nntp_main.c 1.55 -> 1.56

--- lmtp2nntp_main.c     2002/05/27 15:09:50     1.55
+++ lmtp2nntp_main.c     2002/07/02 07:49:01     1.56
@@ -445,7 +445,6 @@
 
     /* establish variable expansion context */
     {
-        var_rc_t rc;
         char *cp;
 
         if ((rc = var_create(&ctx->config_varctx)) != VAR_OK) {
@@ -470,7 +469,7 @@
         if (option_create(&o, ctx->val) != OPTION_OK)
                 CU(ERR_EXECUTION);
         rv = option_parse(o, argc, argv);
-        config_context(ctx); //FIXME rc
+        config_context(ctx); /*FIXME rc */
         if (rv != OPTION_OK)
                 CU(ERR_EXECUTION);
     }
@@ -704,7 +703,7 @@
     /* graceful shutdown */
     CUS:
     logbook(ctx->l2, L2_LEVEL_NOTICE, "graceful shutdown shortly before exit - no more logging");
-    //l2_channel_destroy(ctx->l2);
+    /* l2_channel_destroy(ctx->l2); */
     l2_env_destroy(ctx->l2_env);
     if (ctx->saServerbind)
         sa_destroy(ctx->saServerbind);
@@ -712,7 +711,7 @@
         sa_addr_destroy(ctx->saaServerbind);
     if (ctx->option_restrictheader != NULL)
         free(ctx->option_restrictheader);
-    //FIXME if (ctx->azHeaderValuePairs != NULL) free(ctx->azHeaderValuePairs); what about headerrules
+    /* FIXME if (ctx->azHeaderValuePairs != NULL) free(ctx->azHeaderValuePairs); what about headerrules */
     if (ctx->option_pidfile != NULL)
         free(ctx->option_pidfile);
     if (ctx->option_nodename != NULL)
@@ -730,7 +729,7 @@
     str_parse(NULL, NULL);
     if (o != NULL)
         (void)option_destroy(o);
-    //FIXME check if anything initialized in the lmtp2nntp_t structure is destroyed here (val, prival ...)
+    /* FIXME check if anything initialized in the lmtp2nntp_t structure is destroyed here (val, prival ...) */
 
     return rc;
 }
@@ -886,7 +885,7 @@
                 memcpy(&ctx->pns[i], &ctx->pns[i+1], (ctx->nns - i ) * sizeof(struct ns));
             }
             */
-            i++; //FIXME this is just to avoid infinite loop
+            i++; /* FIXME this is just to avoid infinite loop */
         }
     } while (i < ctx->nns);
 
@@ -1647,7 +1646,7 @@
             if (ctx->pns[i].rc != NNTP_OK) {
                 var_rc_t var_rc;
                 char *res_ptr;
-                int res_len;
+                size_t res_len;
                 str_format(errorstring, sizeof(errorstring), 
                            "${option.destination[%d]} returned %s\n"
                            "${option.destination[%d]} lastresp \"%s\"",

CVSTrac 2.0.1