OSSP CVS Repository

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

ossp-pkg/lmtp2nntp/lmtp2nntp.c 1.57 -> 1.58

--- lmtp2nntp.c  2001/09/12 14:34:45     1.57
+++ lmtp2nntp.c  2001/09/12 14:43:29     1.58
@@ -564,7 +564,7 @@
         fprintf(stderr, "%s:Error: logging failed to create stream\n", ctx->progname);
         exit(ERR_EXECUTION);
     }
-    if (l2_stream_levels(ctx->l2, L2_LEVEL_UPTO(L2_LEVEL_DEBUG)) != L2_OK) {
+    if (l2_stream_levels(ctx->l2, L2_LEVEL_UPTO(L2_LEVEL_DEBUG), L2_LEVEL_NONE) != L2_OK) {
         fprintf(stderr, "%s:Error: logging failed to set global logging level\n", ctx->progname);
         exit(ERR_EXECUTION);
     }
@@ -628,7 +628,7 @@
             exit(ERR_EXECUTION);
         }
 
-        if (l2_stream_channel(ctx->l2, chPrefix, ctx->option_levelmask) != L2_OK) {
+        if (l2_stream_channel(ctx->l2, chPrefix, ctx->option_levelmask, L2_LEVEL_NONE) != L2_OK) {
             fprintf(stderr, "%s:Error: logging failed to attach channel into stream\n", ctx->progname);
             exit(ERR_EXECUTION);
         }

CVSTrac 2.0.1