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
210f9159
...
210f9159548ecaa5e55633481f185fb08fffdcfb
authored
2002-08-22 11:17:44 +0000
by
Sergey Poznyakoff
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
(imap4d_list): Added comment describing when INBOX should be output.
1 parent
af26531a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
1 deletions
imap4d/list.c
imap4d/list.c
View file @
210f915
...
...
@@ -153,7 +153,14 @@ imap4d_list (struct imap4d_command *command, char *arg)
"The requested item could not be found."
);
}
/* If wcard match inbox return it too, part of the list. */
/* The special name INBOX is included in the output from LIST, if
INBOX is supported by this server for this user and if the
uppercase string "INBOX" matches the interpreted reference and
mailbox name arguments with wildcards as described above. The
criteria for omitting INBOX is whether SELECT INBOX will return
failure; it is not relevant whether the user's real INBOX resides
on this or some other server. */
if
(
!*
ref
&&
(
match
(
"INBOX"
,
wcard
,
delim
)
||
match
(
"inbox"
,
wcard
,
delim
)))
util_out
(
RESP_NONE
,
"LIST (
\\
NoInferiors) NIL INBOX"
);
...
...
Please
register
or
sign in
to post a comment