OSSP CVS Repository

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

ossp-pkg/lmtp2nntp/lmtp2nntp_config.c 1.41 -> 1.42

--- lmtp2nntp_config.c   2002/02/05 14:14:54     1.41
+++ lmtp2nntp_config.c   2002/02/05 14:56:47     1.42
@@ -637,6 +637,7 @@
             else if (strcasecmp(cp, "feed") == 0)
                 ctx->option_operationmode = OPERATIONMODE_FEED;
             else {
+                ctx->option_operationmode = OPERATIONMODE_FAKE;
                 if (strlen(cp) != 9) {
                     log1(ctx, ERROR, "option --operationmode, invalid length (%s)", cp);
                     throw(0,0,0);
@@ -669,6 +670,10 @@
                 }
             }
         }
+        else {
+            log0(ctx, ERROR, "option --operationmode, is mandatory but neither given nor preset (internal)");
+            throw(0,0,0);
+        }
     }
     catch (ex)
         rethrow;

CVSTrac 2.0.1