OSSP CVS Repository

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

ossp-pkg/lmtp2nntp/lmtp2nntp_main.c 1.20 -> 1.21

--- lmtp2nntp_main.c     2002/01/31 14:43:52     1.20
+++ lmtp2nntp_main.c     2002/01/31 14:47:13     1.21
@@ -456,13 +456,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 'n': /*POD [B<-n> I<nodename>] */
-                if (strlen(optarg) > sizeof(ctx->uname.nodename)-1) {
-                        fprintf(stderr, "%s:Error: nodename \"%s\" to long to option -n.\n", ctx->progname, optarg);
-                        CU(ERR_EXECUTION);
-                }
-                strcpy(ctx->uname.nodename, optarg);
-                break;
             case 'o': /*POD [B<-o> I<operationmode>] */
                 if      (strcasecmp(optarg, "post") == 0)
                     ctx->option_operationmode = OPERATIONMODE_POST;

CVSTrac 2.0.1