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
b8650926
...
b8650926df468289f0a63b90904f3674e3b1f0dc
authored
2005-08-10 08:14:46 +0000
by
Sergey Poznyakoff
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
(imap4d_copy0): Minor improvement
1 parent
12bf6a1a
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
2 deletions
imap4d/copy.c
imap4d/fetch.c
imap4d/copy.c
View file @
b865092
...
...
@@ -93,7 +93,7 @@ imap4d_copy0 (char *arg, int isuid, char *resp, size_t resplen)
{
message_t
msg
=
NULL
;
size_t
msgno
=
(
isuid
)
?
uid_to_msgno
(
set
[
i
])
:
set
[
i
];
mailbox_get_message
(
mbox
,
msgno
,
&
msg
);
if
(
msgno
&&
mailbox_get_message
(
mbox
,
msgno
,
&
msg
)
==
0
)
mailbox_append_message
(
cmbox
,
msg
);
}
mailbox_close
(
cmbox
);
...
...
imap4d/fetch.c
View file @
b865092
...
...
@@ -214,7 +214,9 @@ imap4d_fetch0 (char *arg, int isuid, char *resp, size_t resplen)
util_send
(
")
\r\n
"
);
free
(
p
);
}
else
else
if
(
!
isuid
)
/* According to RFC 3501, "A non-existent unique identifier is
ignored without any error message generated." */
{
snprintf
(
resp
,
resplen
,
"Bogus message set: message number out of range"
);
...
...
Please
register
or
sign in
to post a comment