Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
John McEleney
/
mailutils
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
Commit
08890024
...
0889002446c805d8427e0683b15a8fe22cc47618
authored
2002-07-26 11:19:04 +0000
by
Sergey Poznyakoff
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
(struct daemon_param): Initialize typescript member.
1 parent
aac926c5
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
15 deletions
imap4d/imap4d.c
imap4d/imap4d.c
View file @
0889002
...
...
@@ -30,7 +30,8 @@ struct daemon_param daemon_param = {
MODE_INTERACTIVE
,
/* Start in interactive (inetd) mode */
20
,
/* Default maximum number of children */
143
,
/* Standard IMAP4 port */
1800
/* RFC2060: 30 minutes. */
1800
,
/* RFC2060: 30 minutes. */
0
/* No transcript by default */
};
/* Number of child processes. */
...
...
@@ -78,20 +79,20 @@ static int imap4d_mainloop __P ((int, int));
static
error_t
imap4d_parse_opt
(
int
key
,
char
*
arg
,
struct
argp_state
*
state
)
{
switch
(
key
)
{
case
ARGP_KEY_INIT
:
state
->
child_inputs
[
0
]
=
state
->
input
;
break
;
case
'O'
:
set_namespace
(
NS_OTHER
,
arg
);
break
;
case
'S'
:
set_namespace
(
NS_SHARED
,
arg
);
break
;
switch
(
key
)
{
case
ARGP_KEY_INIT
:
state
->
child_inputs
[
0
]
=
state
->
input
;
break
;
case
'O'
:
set_namespace
(
NS_OTHER
,
arg
);
break
;
case
'S'
:
set_namespace
(
NS_SHARED
,
arg
);
break
;
default:
return
ARGP_ERR_UNKNOWN
;
}
...
...
Please
register
or
sign in
to post a comment