projects
/
citadel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
41c88b0
)
* DLAT response was missing its MIME metadata. Fixed.
author
Art Cancro
<ajc@citadel.org>
Thu, 2 Apr 2009 16:46:09 +0000
(16:46 +0000)
committer
Art Cancro
<ajc@citadel.org>
Thu, 2 Apr 2009 16:46:09 +0000
(16:46 +0000)
citadel/msgbase.c
patch
|
blob
|
history
diff --git
a/citadel/msgbase.c
b/citadel/msgbase.c
index 60648431e3e2c8e100b439a11522bda71cafcd4a..d290e192f0239d034feb68ffa078533e8a27d0b8 100644
(file)
--- a/
citadel/msgbase.c
+++ b/
citadel/msgbase.c
@@
-1019,7
+1019,12
@@
void mime_spew_section(char *name, char *filename, char *partnum, char *disp,
|| (!IsEmptyStr(cbid) && (!strcasecmp(CC->download_desired_section, cbid)))
) {
*found_it = 1;
- cprintf("%d %d\n", BINARY_FOLLOWS, (int)length);
+ cprintf("%d %d|-1|%s|%s\n",
+ BINARY_FOLLOWS,
+ (int)length,
+ filename,
+ cbtype
+ );
client_write(content, length);
}
}