Commit 02f3549d 02f3549d5c056758fafcbe9de8051424a7f118db by Sergey Poznyakoff

(pop3d_parse_opt): Fixed dereference of child_inputs. Thanks to Jordi Mallach.

1 parent b1c8f405
......@@ -57,11 +57,11 @@ static struct argp argp = {
};
static const char *pop3d_argp_capa[] = {
"common",
"license",
"daemon",
"logging",
"auth",
"common",
"logging",
"license",
NULL
};
......@@ -71,7 +71,7 @@ pop3d_parse_opt (int key, char *arg, struct argp_state *astate)
switch (key)
{
case ARGP_KEY_INIT:
astate->child_inputs[1] = astate->input;
astate->child_inputs[0] = astate->input;
break;
default:
......