OSSP CVS Repository

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

ossp-pkg/lmtp2nntp/lmtp2nntp_main.c 1.17 -> 1.18

--- lmtp2nntp_main.c     2002/01/31 13:44:05     1.17
+++ lmtp2nntp_main.c     2002/01/31 13:54:21     1.18
@@ -190,12 +190,6 @@
 static void lmtp_gfs_quit(lmtp2nntp_t *);
 
 enum {
-    GROUPMODE_ARG,
-    GROUPMODE_ENVELOPE,
-    GROUPMODE_HEADER
-};
-
-enum {
     OPERATIONMODE_FAKE,
     OPERATIONMODE_POST,
     OPERATIONMODE_FEED
@@ -464,18 +458,6 @@
     /* read in the arguments */
     while ((i = getopt(argc, argv, "C:DKP:Va:b:c:d:g:h:l:m:n:o:r:s:t:u:v")) != -1) {
         switch (i) {
-            case 'g': /*POD [B<-g> I<groupmode>] */
-                if      (strcasecmp(optarg, "arg") == 0)
-                    ctx->option_groupmode = GROUPMODE_ARG;
-                else if (strcasecmp(optarg, "envelope") == 0)
-                    ctx->option_groupmode = GROUPMODE_ENVELOPE;
-                else if (strcasecmp(optarg, "header") == 0)
-                    ctx->option_groupmode = GROUPMODE_HEADER;
-                else {
-                    fprintf(stderr, "%s:Error: Invalid mode \"%s\" to option -g\n", ctx->progname, optarg);
-                    CU(ERR_EXECUTION);
-                }
-                break;
             case 'h': /*POD [B<-h> I<header>:<value>] */
                 cpHeadername = strdup(optarg);
                 if ((cp = strchr(cpHeadername, ':')) == NULL) {

CVSTrac 2.0.1