$Log$
+ Revision 625.28 2004/09/21 02:09:30 ajc
+ * Tweaks to above
+
Revision 625.27 2004/09/21 01:43:23 ajc
* imap_search.c: when search criteria permit, do not fetch messages.
Fri Jul 10 1998 Art Cancro <ajc@uncensored.citadel.org>
* Initial CVS import
-
struct CtdlMessage *msg = NULL;
int need_to_free_msg = 0;
- if (num_items == 0) return(0);
+ if (num_items == 0) {
+ return(0);
+ }
msg = supplied_msg;
/* Initially we start at the beginning. */
}
if (need_to_free_msg) {
- lprintf(CTDL_DEBUG, "imap search freeing message\n");
CtdlFreeMessage(msg);
}
return(match);
cit_uint8_t field_header;
size_t field_length;
+ lprintf(CTDL_DEBUG, "CtdlFetchMessage(%ld, %d)\n", msgnum, with_body);
+
dmsgtext = cdb_fetch(CDB_MSGMAIN, &msgnum, sizeof(long));
if (dmsgtext == NULL) {
return NULL;