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
91c37dcd
...
91c37dcde3fde4390c2057798aedec481e2b25a7
authored
2001-11-01 15:29:43 +0000
by
Sergey Poznyakoff
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
Use LOG_FACILITY instead of LOG_MAIL.
Use mu_normalize_path().
1 parent
8419600f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
imap4d/login.c
imap4d/login.c
View file @
91c37dc
...
...
@@ -140,13 +140,13 @@ imap4d_login (struct imap4d_command *command, char *arg)
pamerror
=
pam_setcred
(
pamh
,
PAM_ESTABLISH_CRED
);
PAM_ERROR
;
pam_end
(
pamh
,
PAM_SUCCESS
);
openlog
(
"gnu-imap4d"
,
LOG_PID
,
LOG_
MAIL
);
openlog
(
"gnu-imap4d"
,
LOG_PID
,
LOG_
FACILITY
);
#endif
/* USE_LIBPAM */
if
(
pw
->
pw_uid
>
0
&&
!
mu_virtual_domain
)
setuid
(
pw
->
pw_uid
);
homedir
=
util
_normalize_path
(
strdup
(
pw
->
pw_dir
),
"/"
);
homedir
=
mu
_normalize_path
(
strdup
(
pw
->
pw_dir
),
"/"
);
/* FIXME: Check for errors. */
chdir
(
homedir
);
namespace_init
(
pw
->
pw_dir
);
...
...
Please
register
or
sign in
to post a comment