projects
/
citadel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
92924b1
)
* Fixed a bug that caused vnotes not to display when encapsulated in multipart/altern...
author
Art Cancro
<ajc@citadel.org>
Tue, 12 May 2009 21:31:44 +0000
(21:31 +0000)
committer
Art Cancro
<ajc@citadel.org>
Tue, 12 May 2009 21:31:44 +0000
(21:31 +0000)
webcit/notes.c
patch
|
blob
|
history
diff --git
a/webcit/notes.c
b/webcit/notes.c
index 4d78d2a9344367d42f103265dce16ef6181216bd..a8e02b04ca42577acea228288e07b81c912763e8 100644
(file)
--- a/
webcit/notes.c
+++ b/
webcit/notes.c
@@
-95,10
+95,9
@@
struct vnote *vnote_new_from_msg(long msgnum,int unread)
}
else {
phase++;
-
if ((msg4_content_length > 0)
&& ( !strcasecmp(msg4_content_encoding, "7bit"))
- && (!strcasecmp(m
ime
_content_type, "text/vnote"))
+ && (!strcasecmp(m
sg4
_content_type, "text/vnote"))
) {
vnote_inline = 1;
}
@@
-188,6
+187,7
@@
void write_vnote_to_server(struct vnote *v)
serv_printf("--%s", boundary);
serv_puts("Content-type: text/vnote");
+ serv_puts("Content-Transfer-Encoding: 7bit");
serv_puts("");
pch = vnote_serialize(v);
serv_puts(pch);