]> code.citadel.org Git - citadel.git/blobdiff - webcit-ng/server/ctdlfunctions.c
Handle start and end times together
[citadel.git] / webcit-ng / server / ctdlfunctions.c
index d6798d2ab5749e29c658dbf11387ea5dbde39cef..ca3886a35ead44cb9f894f1e2273c0341c45ff82 100644 (file)
@@ -2,8 +2,7 @@
 //
 // Copyright (c) 2016-2022 by the citadel.org team
 //
-// This program is open source software.  Use, duplication, or
-// disclosure is 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"
 
@@ -21,8 +20,7 @@ void ctdl_delete_msgs(struct ctdlsession *c, long *msgnums, int num_msgs) {
        strcpy(buf, "DELE ");
        do {
                sprintf(&buf[strlen(buf)], "%ld", msgnums[i]);
-               if ((((i + 1) % 50) == 0) || (i == num_msgs - 1))       // delete up to 50 messages with one server command
-               {
+               if ((((i + 1) % 50) == 0) || (i == num_msgs - 1)) {     // delete up to 50 messages with one server command
                        syslog(LOG_DEBUG, "%s", buf);
                        ctdl_printf(c, "%s", buf);
                        ctdl_readline(c, buf, sizeof(buf));