Commit 08890024 0889002446c805d8427e0683b15a8fe22cc47618 by Sergey Poznyakoff

(struct daemon_param): Initialize typescript member.

1 parent aac926c5
...@@ -30,7 +30,8 @@ struct daemon_param daemon_param = { ...@@ -30,7 +30,8 @@ struct daemon_param daemon_param = {
30 MODE_INTERACTIVE, /* Start in interactive (inetd) mode */ 30 MODE_INTERACTIVE, /* Start in interactive (inetd) mode */
31 20, /* Default maximum number of children */ 31 20, /* Default maximum number of children */
32 143, /* Standard IMAP4 port */ 32 143, /* Standard IMAP4 port */
33 1800 /* RFC2060: 30 minutes. */ 33 1800, /* RFC2060: 30 minutes. */
34 0 /* No transcript by default */
34 }; 35 };
35 36
36 /* Number of child processes. */ 37 /* Number of child processes. */
...@@ -78,20 +79,20 @@ static int imap4d_mainloop __P ((int, int)); ...@@ -78,20 +79,20 @@ static int imap4d_mainloop __P ((int, int));
78 static error_t 79 static error_t
79 imap4d_parse_opt (int key, char *arg, struct argp_state *state) 80 imap4d_parse_opt (int key, char *arg, struct argp_state *state)
80 { 81 {
81 switch (key) 82 switch (key)
82 { 83 {
83 case ARGP_KEY_INIT: 84 case ARGP_KEY_INIT:
84 state->child_inputs[0] = state->input; 85 state->child_inputs[0] = state->input;
85 break; 86 break;
86 87
87 case 'O': 88 case 'O':
88 set_namespace (NS_OTHER, arg); 89 set_namespace (NS_OTHER, arg);
89 break; 90 break;
90 91
91 case 'S': 92 case 'S':
92 set_namespace (NS_SHARED, arg); 93 set_namespace (NS_SHARED, arg);
93 break; 94 break;
94 95
95 default: 96 default:
96 return ARGP_ERR_UNKNOWN; 97 return ARGP_ERR_UNKNOWN;
97 } 98 }
......