--- lmtp2nntp_config.c 2002/01/31 15:54:53 1.35
+++ lmtp2nntp_config.c 2002/01/31 15:59:12 1.36
@@ -789,6 +789,28 @@
}
catch (ex)
rethrow;
+
+ /* --newsgroup MULTI */
+ try {
+ char *cp;
+ int i;
+
+ if ( (val_get(ctx->val, "option.newsgroup", &ov) != VAL_OK)
+ || ((ov->ndata >= 1) && (ov->data.m == NULL))
+ ) throw(0,0,0);
+ log1(ctx, DEBUG, "ov->ndata = %d", ov->ndata);
+ for (i = 0; i < ov->ndata; i++)
+ log2(ctx, TRACE, "--newsgroup[%d] = \"%s\"", i, (ov->data.m)[i]);
+
+ for (i = 0; i < ov->ndata; i++) {
+ cp = (ov->data.m)[i];
+ log2(ctx, DEBUG, "cp = (data.m)[%d] = \"%s\"", i, cp);
+ argz_add(&ctx->azGroupargs, &ctx->asGroupargs, cp);
+ }
+ }
+ catch (ex)
+ rethrow;
+
CUS:
return;
}
|