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);
|
|