projects
/
citadel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b7d0e27
)
* Fix a bug that caused a logging problem but did not affect protocol behavior
author
Art Cancro
<ajc@citadel.org>
Wed, 21 Jul 2010 16:49:24 +0000
(16:49 +0000)
committer
Art Cancro
<ajc@citadel.org>
Wed, 21 Jul 2010 16:49:24 +0000
(16:49 +0000)
citadel/modules/imap/imap_fetch.c
patch
|
blob
|
history
diff --git
a/citadel/modules/imap/imap_fetch.c
b/citadel/modules/imap/imap_fetch.c
index 11303ef0dc5ea2051f9821d4c153c0163690f20b..db1fc2dd71c72d41d462d5316215388657c99952 100644
(file)
--- a/
citadel/modules/imap/imap_fetch.c
+++ b/
citadel/modules/imap/imap_fetch.c
@@
-653,11
+653,9
@@
void imap_fetch_body(long msgnum, ConstStr item, int is_peek) {
StrBufStripAllBut(partial, '<', '>');
is_partial = 1;
}
- if (is_partial == 0)
- if (StrLength(partial) > 0)
- CtdlLogPrintf(CTDL_DEBUG,
- "Partial is %s\n",
- ChrPtr(partial));
+ if ( (is_partial == 1) && (StrLength(partial) > 0) ) {
+ CtdlLogPrintf(CTDL_DEBUG, "Partial is <%s>\n", ChrPtr(partial));
+ }
if (IMAP->cached_body == NULL) {
CCC->redirect_buffer = NewStrBufPlain(NULL, SIZ);