]> code.citadel.org Git - citadel.git/blobdiff - webcit-ng/server/messages.c
Skeleton code for filters.
[citadel.git] / webcit-ng / server / messages.c
index f3cba7c6636bbee51b64f8b080d0b7323f5702bb..841580405514ae6ec1324f4bde26676aa6b08c10 100644 (file)
@@ -1,9 +1,8 @@
 // Message base functions
 //
-// Copyright (c) 1996-2022 by the citadel.org team
+// Copyright (c) 1996-2023 by the citadel.org team
 //
-// This program is open source software.  Use, duplication, or
-// disclosure are subject to the GNU General Public License v3.
+// This program is open source software.  Use, duplication, or disclosure is subject to the GNU General Public License v3.
 
 #include "webcit.h"
 
@@ -277,9 +276,7 @@ void dav_put_message(struct http_transaction *h, struct ctdlsession *c, char *eu
 
                        // After calling pop_upload(), the attachment is no longer in the global list.
                        // 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");