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
c6b05cc4
...
c6b05cc4819e5c7ae35897536b3a00161acfa7eb
authored
2003-10-18 19:06:39 +0000
by
Sergey Poznyakoff
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
(login_delay_capa): New function.
1 parent
5239623e
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
0 deletions
pop3d/logindelay.c
pop3d/pop3d.h
pop3d/logindelay.c
View file @
c6b05cc
...
...
@@ -115,4 +115,15 @@ update_login_delay (char *username)
mu_dbm_close
(
db
);
}
void
login_delay_capa
()
{
DBM_FILE
db
;
if
(
login_delay
&&
open_stat_db
(
&
db
,
MU_STREAM_RDWR
)
==
0
)
{
pop3d_outf
(
"LOGIN-DELAY %lu
\r\n
"
,
(
unsigned
long
)
login_delay
);
mu_dbm_close
(
db
);
}
}
#endif
...
...
pop3d/pop3d.h
View file @
c6b05cc
...
...
@@ -83,9 +83,11 @@ extern time_t login_delay;
extern
char
*
login_stat_file
;
extern
int
check_login_delay
__P
((
char
*
username
));
extern
void
update_login_delay
__P
((
char
*
username
));
extern
void
login_delay_capa
__P
((
void
));
#else
# define check_login_delay(u) 0
# define update_login_delay(u)
# define login_delay_capa()
#endif
/* Minimum advertise retention time for messages. */
...
...
Please
register
or
sign in
to post a comment