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
521dc384
...
521dc38470ae8dbb0a9fadf2169a56e532c93def
authored
2001-08-30 15:35:02 +0000
by
Sergey Poznyakoff
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
Use mu_getpwnam instead of system getpwnam.
1 parent
51a78b3d
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
12 deletions
imap4d/login.c
pop3d/user.c
imap4d/login.c
View file @
521dc38
...
...
@@ -138,13 +138,8 @@ imap4d_login (struct imap4d_command *command, char *arg)
else
if
(
util_getword
(
NULL
,
&
sp
))
return
util_finish
(
command
,
RESP_NO
,
"Too many args"
);
pw
=
getpwnam
(
username
);
pw
=
mu_
getpwnam
(
username
);
if
(
pw
==
NULL
)
#ifdef HAVE_MYSQL
pw
=
getMpwnam
(
username
);
if
(
pw
==
NULL
)
#endif
/* HAVE_MYSQL */
#ifdef USE_VIRTUAL_DOMAINS
pw
=
imap4d_virtual
(
username
);
...
...
pop3d/user.c
View file @
521dc38
...
...
@@ -20,7 +20,7 @@
static
int
is_virtual
=
0
;
#ifdef HAVE_MYSQL
#include "../MySql/MySql.h"
#
include "../MySql/MySql.h"
#endif
#ifdef USE_VIRTUAL_DOMAINS
...
...
@@ -172,11 +172,7 @@ pop3d_user (const char *arg)
}
#endif
pw
=
getpwnam
(
arg
);
#ifdef HAVE_MYSQL
if
(
pw
==
NULL
)
pw
=
getMpwnam
(
arg
);
#endif
/* HAVE_MYSQL */
pw
=
mu_getpwnam
(
arg
);
#ifdef USE_VIRTUAL_DOMAINS
if
(
pw
==
NULL
)
...
...
Please
register
or
sign in
to post a comment