ossp-pkg/lmtp2nntp/lmtp2nntp_main.c 1.47 -> 1.48
--- lmtp2nntp_main.c 2002/03/05 14:17:39 1.47
+++ lmtp2nntp_main.c 2002/03/06 14:25:39 1.48
@@ -431,10 +431,18 @@
CU(ERR_EXECUTION);
}
}
+
/* read in the arguments */
- (void)option_create(&o, ctx->val); /* FIXME */
- (void)option_parse(o, argc, argv);
- (void)config_context(ctx);
+ {
+ lmtp2nntp_option_rc_t rv;
+
+ if (option_create(&o, ctx->val) != OPTION_OK)
+ CU(ERR_EXECUTION);
+ rv = option_parse(o, argc, argv);
+ config_context(ctx); //FIXME rc
+ if (rv != OPTION_OK)
+ CU(ERR_EXECUTION);
+ }
if (getuid() != ctx->option_uid) {
if (setuid(ctx->option_uid) == -1) {
|
|