OSSP CVS Repository

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

ossp-pkg/lmtp2nntp/lmtp2nntp.c 1.93 -> 1.94

--- lmtp2nntp.c  2001/10/15 12:48:57     1.93
+++ lmtp2nntp.c  2001/10/15 13:05:22     1.94
@@ -557,7 +557,7 @@
                         CU(ERR_EXECUTION);
                     }
                     if ((rc = sa_addr_create(&ctx->saaAltio)) != SA_OK) {
-                        fprintf(stderr, "%s:Error: Creating address failed for -a option (%d)\n", 
+                        fprintf(stderr, "%s:Error: Creating address failed for -b option (%d)\n", 
                                 ctx->progname, rc);
                     }
                     if (optarg[0] == '/') {
@@ -641,7 +641,7 @@
                 else 
                     ctx->cpBindp = strdup("0");
                 if ((rc = sa_addr_create(&ctx->saaBind)) != SA_OK) {
-                    fprintf(stderr, "%s:Error: Creating address failed for -b option (%d)\n", 
+                    fprintf(stderr, "%s:Error: Creating address failed for -c option (%d)\n", 
                             ctx->progname, rc);
                 }
                 if ((rc = sa_addr_u2a(ctx->saaBind, "inet://%s:%s", ctx->cpBindh, ctx->cpBindp)) != SA_OK) {
@@ -656,7 +656,7 @@
                 cp = NULL;
                 while ((cp = argz_next(azHosts, asHosts, cp)) != NULL) {
                     if (ctx->nsc >= MAXNEWSSERVICES) {
-                        fprintf(stderr, "%s:Error: Too many services (%d) using option -h\n", ctx->progname, ctx->nsc);
+                        fprintf(stderr, "%s:Error: Too many services (%d) using option -d\n", ctx->progname, ctx->nsc);
                         CU(ERR_EXECUTION);
                     }
                     cpHost = strdup(cp);
@@ -669,7 +669,7 @@
                     ctx->ns[ctx->nsc].h = cpHost;
                     ctx->ns[ctx->nsc].p = cpPort;
                     if ((rc = sa_addr_create(&ctx->ns[ctx->nsc].saa)) != SA_OK) {
-                        fprintf(stderr, "%s:Error: Creating address failed for -h option (%d)\n", 
+                        fprintf(stderr, "%s:Error: Creating address failed for -d option (%d)\n", 
                             ctx->progname, rc);
                     }
                     if ((rc = sa_addr_u2a(ctx->ns[ctx->nsc].saa, "inet://%s:%s", 
@@ -771,12 +771,12 @@
                     ctx->option_operationmode = OPERATIONMODE_FEED;
                 else {
                     if (strlen(optarg) != 9) {
-                        fprintf(stderr, "%s:Error: Invalid format or length \"%s\" to option -d\n", ctx->progname, optarg);
+                        fprintf(stderr, "%s:Error: Invalid format or length \"%s\" to option -o\n", ctx->progname, optarg);
                         CU(ERR_EXECUTION);
                     }
 
                     if (optarg[3] != '/') {
-                        fprintf(stderr, "%s:Error: Invalid format or missing slash \"%s\" to option -d\n", ctx->progname, optarg);
+                        fprintf(stderr, "%s:Error: Invalid format or missing slash \"%s\" to option -o\n", ctx->progname, optarg);
                         CU(ERR_EXECUTION);
                     }
 
@@ -788,7 +788,7 @@
                         || !isdigit((int)ctx->option_operationmodefakestatus[0])
                         || !isdigit((int)ctx->option_operationmodefakestatus[1])
                         || !isdigit((int)ctx->option_operationmodefakestatus[2])) {
-                            fprintf(stderr, "%s:Error: Invalid status in format \"%s\" to option -d\n", ctx->progname, optarg);
+                            fprintf(stderr, "%s:Error: Invalid status in format \"%s\" to option -o\n", ctx->progname, optarg);
                             CU(ERR_EXECUTION);
                         }
 
@@ -799,7 +799,7 @@
                         || (ctx->option_operationmodefakedsn[3] != '.')
                         || !isdigit((int)ctx->option_operationmodefakedsn[4])
                         || (ctx->option_operationmodefakedsn[0] != ctx->option_operationmodefakestatus[0])) {
-                            fprintf(stderr, "%s:Error: Invalid dsn in format \"%s\" to option -d\n", ctx->progname, optarg);
+                            fprintf(stderr, "%s:Error: Invalid dsn in format \"%s\" to option -o\n", ctx->progname, optarg);
                             CU(ERR_EXECUTION);
                         }
                     }

CVSTrac 2.0.1