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
237a0ac2
...
237a0ac2b20ebebcfddfc1142e7d51066415f329
authored
2001-08-31 11:14:51 +0000
by
Sergey Poznyakoff
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
Fixed declaration of _app_getpwnam. Moved mu_virtual_domain out of #ifdef guard.
1 parent
b4d1a2f2
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
mailbox/mutil.c
mailbox/mutil.c
View file @
237a0ac
...
...
@@ -326,7 +326,7 @@ util_cpystr (char *dst, const char *src, size_t size)
return
len
;
}
static
list_t
*
_app_getpwnam
=
NULL
;
static
list_t
_app_getpwnam
=
NULL
;
void
mu_register_getpwnam
(
struct
passwd
*
(
*
fun
)
__P
((
const
char
*
)))
...
...
@@ -346,7 +346,7 @@ mu_getpwnam (const char *name)
if
(
!
p
&&
iterator_create
(
&
itr
,
_app_getpwnam
)
==
0
)
{
struct
passwd
*
(
*
fun
)
__P
((
char
*
));
struct
passwd
*
(
*
fun
)
__P
((
c
onst
c
har
*
));
for
(
iterator_first
(
itr
);
!
p
&&
!
iterator_is_done
(
itr
);
iterator_next
(
itr
))
{
...
...
@@ -359,10 +359,10 @@ mu_getpwnam (const char *name)
return
p
;
}
#ifdef USE_VIRTUAL_DOMAINS
int
mu_virtual_domain
;
#ifdef USE_VIRTUAL_DOMAINS
struct
passwd
*
getpwnam_virtual
(
const
char
*
u
)
{
...
...
Please
register
or
sign in
to post a comment