OSSP CVS Repository

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

Check-in Number: 1757
Date: 2002-Jan-31 16:59:53 (local)
2002-Jan-31 15:59:53 (UTC)
User:thl
Branch:
Comment: moved/added --newsgroup option
Tickets:
Inspections:
Files:
ossp-pkg/lmtp2nntp/lmtp2nntp_main.c      1.28 -> 1.29     1 inserted, 17 deleted

ossp-pkg/lmtp2nntp/lmtp2nntp_main.c 1.28 -> 1.29

--- lmtp2nntp_main.c     2002/01/31 15:59:12     1.28
+++ lmtp2nntp_main.c     2002/01/31 15:59:53     1.29
@@ -423,6 +423,7 @@
     }
     ctx->progname = strdup(argv[0]);
 
+    /* read in the arguments */
 {
 lmtp2nntp_option_t *o;
 (void)option_create(&o, ctx->val); /* FIXME */
@@ -432,23 +433,6 @@
 return 0;
 }
 
-    /*POD B<lmtp2nntp> */
-
-    /*  use
-     *  perl <lmtp2nntp.c -e 'while (<>) { if(m/\/\*POD (.*) .*\*\//) { $_=$1; print "$_\n" };}'
-     *  to pull the POD SYNOPSIS header directly out of this source
-     */
-
-    /* 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 '?':
-            default:
-                usage(ctx->progname);
-                CU(ERR_EXECUTION);
-        }
-    }
-
     /* if no positive ACL exists (option -a) add a wildcard match-all for IPv4 and IPv6 */
     bOk = FALSE;
     for (i = 0; i < ctx->nacl; i++) {

CVSTrac 2.0.1