ossp-pkg/lmtp2nntp/lmtp2nntp_config.c 1.42 -> 1.43
--- lmtp2nntp_config.c 2002/02/05 14:56:47 1.42
+++ lmtp2nntp_config.c 2002/02/05 15:58:21 1.43
@@ -347,7 +347,7 @@
if (ov->ndata == 1) {
/* dash means stdio */
- if (strcmp(ov->data.s, "-") != 0) { //FIXME does this work with popt()?
+ if (strcmp(ov->data.s, "-") != 0) {
if ((rc = sa_create(&ctx->saServerbind)) != SA_OK) {
log1(ctx, ERROR, "option --bind, creating TCP socket (internal) failed with \"%s\"", sa_error(rc));
throw(0,0,0);
@@ -364,7 +364,7 @@
int n;
int i;
- cpPath = strdup(optarg);
+ cpPath = strdup(ov->data.s);
cpPerm = NULL;
nPerm = -1;
if ((cpPerm = strrchr(cpPath, ':')) != NULL) {
|
|