projects
/
citadel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
45d6989
)
* post_message() whoops, wrong pointer?
author
Wilfried Göesgens
<willi@citadel.org>
Thu, 17 Jun 2010 19:36:27 +0000
(19:36 +0000)
committer
Wilfried Göesgens
<willi@citadel.org>
Thu, 17 Jun 2010 19:36:27 +0000
(19:36 +0000)
webcit/messages.c
patch
|
blob
|
history
diff --git
a/webcit/messages.c
b/webcit/messages.c
index 1ae3693fde75cdf7070e72aff6164920e28fad55..c190e0ff8df42183da279ca0c88472f6d811e065 100644
(file)
--- a/
webcit/messages.c
+++ b/
webcit/messages.c
@@
-1013,7
+1013,7
@@
void post_message(void)
memset(att, 0, sizeof(wc_mime_attachment ));
att->length = WCC->upload_length;
att->ContentType = NewStrBufPlain(WCC->upload_content_type, -1);
- att->FileName = NewStrBuf
Plain(WCC->upload_filename, -1
);
+ att->FileName = NewStrBuf
Dup(WCC->upload_filename
);
if (WCC->attachments == NULL) {
WCC->attachments = NewHash(1, Flathash);