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 = { ...@@ -57,11 +57,11 @@ static struct argp argp = {
57 }; 57 };
58 58
59 static const char *pop3d_argp_capa[] = { 59 static const char *pop3d_argp_capa[] = {
60 "common",
61 "license",
62 "daemon", 60 "daemon",
63 "logging",
64 "auth", 61 "auth",
62 "common",
63 "logging",
64 "license",
65 NULL 65 NULL
66 }; 66 };
67 67
...@@ -71,7 +71,7 @@ pop3d_parse_opt (int key, char *arg, struct argp_state *astate) ...@@ -71,7 +71,7 @@ pop3d_parse_opt (int key, char *arg, struct argp_state *astate)
71 switch (key) 71 switch (key)
72 { 72 {
73 case ARGP_KEY_INIT: 73 case ARGP_KEY_INIT:
74 astate->child_inputs[1] = astate->input; 74 astate->child_inputs[0] = astate->input;
75 break; 75 break;
76 76
77 default: 77 default:
......