projects
/
citadel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
be13ab9
)
* imap_load_part() is expecting the desired_section to be a char*, not a ChrPtr....
author
Art Cancro
<ajc@citadel.org>
Wed, 21 Jul 2010 16:56:29 +0000
(16:56 +0000)
committer
Art Cancro
<ajc@citadel.org>
Wed, 21 Jul 2010 16:56:29 +0000
(16:56 +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 45946b2f0d6e86899deda79a51dd00041fefc7fc..66dd774fa03b5a6bd5154da1544f6584b5bc922e 100644
(file)
--- a/
citadel/modules/imap/imap_fetch.c
+++ b/
citadel/modules/imap/imap_fetch.c
@@
-283,6
+283,10
@@
void imap_load_part(char *name, char *filename, char *partnum, char *disp,
char *desired_section;
desired_section = (char *)cbuserdata;
char *desired_section;
desired_section = (char *)cbuserdata;
+ CtdlLogPrintf(CTDL_DEBUG, "imap_load_part() looking for %s, found %s\n",
+ desired_section,
+ partnum
+ );
if (!strcasecmp(partnum, desired_section)) {
client_write(content, length);
if (!strcasecmp(partnum, desired_section)) {
client_write(content, length);
@@
-704,7
+708,7
@@
void imap_fetch_body(long msgnum, ConstStr item, int is_peek) {
else {
mime_parser(msg->cm_fields['M'], NULL,
*imap_load_part, NULL, NULL,
else {
mime_parser(msg->cm_fields['M'], NULL,
*imap_load_part, NULL, NULL,
-
section
,
+
ChrPtr(section)
,
1
);
}
1
);
}