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
ddc1e76b
...
ddc1e76b7e1f0508e84c0805457ee02732e4d30e
authored
2001-08-31 07:06:33 +0000
by
Sergey Poznyakoff
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
Use mu_virtual_domain instead of is_virtual.
1 parent
032eb706
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
3 deletions
imap4d/copy.c
imap4d/select.c
imap4d/status.c
imap4d/copy.c
View file @
ddc1e76
...
...
@@ -73,7 +73,7 @@ imap4d_copy0 (char *arg, int isuid, char *resp, size_t resplen)
return
RESP_BAD
;
}
if
(
strcasecmp
(
name
,
"INBOX"
)
==
0
&&
!
is_virtual
)
if
(
strcasecmp
(
name
,
"INBOX"
)
==
0
&&
!
mu_virtual_domain
)
{
struct
passwd
*
pw
=
getpwuid
(
getuid
());
mailbox_name
=
strdup
((
pw
)
?
pw
->
pw_name
:
""
);
...
...
imap4d/select.c
View file @
ddc1e76
...
...
@@ -57,7 +57,7 @@ imap4d_select0 (struct imap4d_command *command, char *arg, int flags)
imap4d_sync
();
}
if
(
strcasecmp
(
mailbox_name
,
"INBOX"
)
==
0
&&
!
is_virtual
)
if
(
strcasecmp
(
mailbox_name
,
"INBOX"
)
==
0
&&
!
mu_virtual_domain
)
{
pw
=
getpwuid
(
getuid
());
if
(
pw
)
...
...
imap4d/status.c
View file @
ddc1e76
...
...
@@ -45,7 +45,7 @@ imap4d_status (struct imap4d_command *command, char *arg)
if
(
!
name
||
*
name
==
'\0'
||
!
sp
||
*
sp
==
'\0'
)
return
util_finish
(
command
,
RESP_BAD
,
"Too few args"
);
if
(
strcasecmp
(
name
,
"INBOX"
)
==
0
&&
!
is_virtual
)
if
(
strcasecmp
(
name
,
"INBOX"
)
==
0
&&
!
mu_virtual_domain
)
{
struct
passwd
*
pw
=
getpwuid
(
getuid
());
mailbox_name
=
strdup
((
pw
)
?
pw
->
pw_name
:
""
);
...
...
Please
register
or
sign in
to post a comment