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
8df220db
...
8df220dbf069cb4a6a6635ef89e4e3da07e5261b
authored
2002-07-26 11:23:04 +0000
by
Sergey Poznyakoff
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
Use pop3d_outf instead of fprintf; (pop3d_user): Removed unneded PAM_ERROR.
1 parent
e809fe4f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
3 deletions
pop3d/user.c
pop3d/user.c
View file @
8df220d
...
...
@@ -97,7 +97,7 @@ pop3d_user (const char *arg)
if
((
strlen
(
arg
)
==
0
)
||
(
strchr
(
arg
,
' '
)
!=
NULL
))
return
ERR_BAD_ARGS
;
fprintf
(
ofile
,
"+OK
\r\n
"
);
pop3d_outf
(
"+OK
\r\n
"
);
fflush
(
ofile
);
buf
=
pop3d_readline
(
ifile
);
...
...
@@ -182,7 +182,6 @@ pop3d_user (const char *arg)
pamerror
=
pam_acct_mgmt
(
pamh
,
0
);
PAM_ERROR
;
pamerror
=
pam_setcred
(
pamh
,
PAM_ESTABLISH_CRED
);
PAM_ERROR
;
pam_errlab:
pam_end
(
pamh
,
PAM_SUCCESS
);
openlog
(
"gnu-pop3d"
,
LOG_PID
,
log_facility
);
...
...
@@ -250,7 +249,7 @@ pop3d_user (const char *arg)
pop3d_abquit
(
ERR_NO_MEM
);
state
=
TRANSACTION
;
fprintf
(
ofile
,
"+OK opened mailbox for %s
\r\n
"
,
username
);
pop3d_outf
(
"+OK opened mailbox for %s
\r\n
"
,
username
);
/* mailbox name */
{
...
...
Please
register
or
sign in
to post a comment