--- lmtp2nntp_main.c 2002/01/09 13:54:25 1.4
+++ lmtp2nntp_main.c 2002/01/14 12:23:21 1.5
@@ -43,7 +43,6 @@
#include "lmtp2nntp_shpat.h"
#include "lmtp2nntp_daemon.h"
#include "lmtp2nntp_popt.h"
-#include "lmtp2nntp_config.h"
/* third party (linked in) */
#include "str.h"
@@ -74,6 +73,7 @@
#if defined(HAVE_DMALLOC_H) && defined(DMALLOC)
#include "dmalloc.h"
#endif
+#include "lmtp2nntp_config.h"
#include "lmtp2nntp_lmtp.h"
#include "lmtp2nntp_nntp.h"
#include "lmtp2nntp_msg.h"
@@ -207,7 +207,6 @@
lmtp2nntp_t *ctx = (lmtp2nntp_t *)_ctx;
const char *name;
size_t len;
- size_t n;
char *cp;
var_rc_t rc;
@@ -484,8 +483,6 @@
char *cpHeadername;
char *cpHeadervalue;
-dotconftest(); return 0; /*FIXME*/
-
/* drop effective uid/gid priviledges */
seteuid(getuid());
setegid(getgid());
@@ -505,6 +502,7 @@
CU(ERR_EXECUTION);
ctx->ctx.vp = ctx;
ctx->progname = strdup(argv[0]);
+ ctx->option_childsmax = 10;
ctx->option_logfile = NULL;
ctx->option_groupmode = GROUPMODE_ARG;
ctx->option_operationmode = OPERATIONMODE_FAKE;
@@ -527,7 +525,6 @@
ctx->option_uid = getuid();
ctx->option_daemon = FALSE;
ctx->option_veryverbose = FALSE;
- ctx->option_childsmax = 10;
ctx->active_childs = 0;
ctx->l2_env = NULL;
ctx->l2 = NULL;
@@ -562,6 +559,7 @@
fprintf(stderr, "%s:Error: uname failed \"%s\"\n", ctx->progname, strerror(errno));
CU(ERR_EXECUTION);
}
+dotconftest(argc, argv); return 0; //FIXME
/*POD B<lmtp2nntp> */
|