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
2d5ccbd2
...
2d5ccbd2e299467004e88a19a7e5bce76f2ed2b4
authored
2003-10-18 19:08:33 +0000
by
Sergey Poznyakoff
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
(options): Minor fix in help line wording.
(pop3d_parse_opt): Fixed duplicate case.
1 parent
c6b05cc4
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
3 deletions
pop3d/pop3d.c
pop3d/pop3d.c
View file @
2d5ccbd
...
...
@@ -74,7 +74,7 @@ static struct argp_option options[] = {
N_
(
"Name of login statistics file"
),
0
},
#endif
{
"expire"
,
OPT_EXPIRE
,
N_
(
"DAYS"
),
0
,
N_
(
"Minimum
advertise retention days of messages
, default -1 means NEVER"
),
0
},
N_
(
"Minimum
retention period for messages in the maildrop
, default -1 means NEVER"
),
0
},
{
NULL
,
0
,
NULL
,
0
,
NULL
,
0
}
};
...
...
@@ -120,7 +120,7 @@ pop3d_parse_opt (int key, char *arg, struct argp_state *astate)
login_delay
=
strtoul
(
arg
,
&
p
,
10
);
if
(
*
p
)
{
argp_error
(
state
,
_
(
"Invalid number"
));
argp_error
(
a
state
,
_
(
"Invalid number"
));
exit
(
1
);
}
break
;
...
...
@@ -130,8 +130,13 @@ pop3d_parse_opt (int key, char *arg, struct argp_state *astate)
break
;
#endif
case
OPT_
STAT_FIL
E
:
case
OPT_
EXPIR
E
:
expire
=
strtoul
(
arg
,
&
p
,
10
);
if
(
*
p
)
{
argp_error
(
astate
,
_
(
"Invalid number"
));
exit
(
1
);
}
break
;
default:
...
...
Please
register
or
sign in
to post a comment