OSSP CVS Repository

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

ossp-pkg/lmtp2nntp/lmtp2nntp.c 1.91 -> 1.92

--- lmtp2nntp.c  2001/10/15 10:13:50     1.91
+++ lmtp2nntp.c  2001/10/15 11:26:15     1.92
@@ -702,7 +702,7 @@
                 break;
             case 'h': /*POD [B<-h> I<header>:<value>] */
                 cpHeadername = strdup(optarg);
-                if ((cp = strrchr(cpHeadername, ':')) == NULL) {
+                if ((cp = strchr(cpHeadername, ':')) == NULL) {
                     free(cpHeadername);
                     fprintf(stderr, "%s:Error: header \"%s\" for -h option not terminated with colon\n", 
                             ctx->progname, cpHeadername);

CVSTrac 2.0.1