* Minor logging change while I work on fixing imap fetch body section
authorArt Cancro <ajc@citadel.org>
Wed, 21 Jul 2010 16:38:30 +0000 (16:38 +0000)
committerArt Cancro <ajc@citadel.org>
Wed, 21 Jul 2010 16:38:30 +0000 (16:38 +0000)
citadel/modules/imap/imap_fetch.c

index 0a6ee4f1eea60ae03749535332ac0af19be90b71..11303ef0dc5ea2051f9821d4c153c0163690f20b 100644 (file)
@@ -620,9 +620,8 @@ void imap_fetch_body(long msgnum, ConstStr item, int is_peek) {
        if (strchr(ChrPtr(section), '[') != NULL) {
                StrBufStripAllBut(section, '[', ']');
        }
-       CtdlLogPrintf(CTDL_DEBUG, "Section is: %s%s\n", 
-                     ChrPtr(section), 
-                     (StrLength(section) == 0) ? "(empty)" : ""
+       CtdlLogPrintf(CTDL_DEBUG, "Section is: [%s]\n", 
+             (StrLength(section) == 0) ? "(empty)" : ChrPtr(section)
        );
 
        /* Burn the cache if we don't have the same section of the