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
5a3b38eb
...
5a3b38ebc56f381af4252193adddabe0ad651d52
authored
2001-08-30 15:30:19 +0000
by
Sergey Poznyakoff
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
use mu_getpwnam. Removed inclusion of MySql.h.
1 parent
01ed4b9b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
11 deletions
mailbox/mbx_default.c
mailbox/mbx_default.c
View file @
5a3b38e
...
...
@@ -30,10 +30,6 @@
# include <paths.h>
#endif
#ifdef HAVE_MYSQL
#include "../MySql/MySql.h"
#endif
#include <mailutils/mailbox.h>
#include <mailutils/error.h>
...
...
@@ -82,13 +78,7 @@ get_homedir (const char *user)
struct
passwd
*
pw
=
NULL
;
if
(
user
)
{
pw
=
getpwnam
(
user
);
#ifdef HAVE_MYSQL
if
(
!
pw
)
pw
=
getMpwnam
(
user
);
#endif
/* HAVE_MYSQL */
pw
=
mu_getpwnam
(
user
);
if
(
pw
)
homedir
=
pw
->
pw_dir
;
}
...
...
Please
register
or
sign in
to post a comment