X-Git-Url: https://code.citadel.org/?a=blobdiff_plain;f=webcit-ng%2Fserver%2Fmessages.c;h=b0c265ccdfd7a3749de12de42324b332f298726b;hb=6d25b93821513a9e3d3b5a0f1f242ef06c9973c9;hp=f3cba7c6636bbee51b64f8b080d0b7323f5702bb;hpb=bf499ebf1dac652027fef8a5c78bee3822541bc7;p=citadel.git diff --git a/webcit-ng/server/messages.c b/webcit-ng/server/messages.c index f3cba7c66..b0c265ccd 100644 --- a/webcit-ng/server/messages.c +++ b/webcit-ng/server/messages.c @@ -279,7 +279,7 @@ void dav_put_message(struct http_transaction *h, struct ctdlsession *c, char *eu // The file descriptor has zero links, so when we close it, the filesystem will remove it from disk. syslog(LOG_DEBUG, "💥 attachment: %s , len=%ld", one_att.filename, one_att.length); - ctdl_printf(c, "--%s--\r", mime_boundary); + ctdl_printf(c, "--%s\r", mime_boundary); ctdl_printf(c, "Content-Type: %s; name=\"%s\"\r", one_att.content_type, one_att.filename); ctdl_printf(c, "Content-Disposition: attachment; filename=\"%s\"\r", one_att.filename); ctdl_printf(c, "Content-Transfer-Encoding: base64\r");