]> code.citadel.org Git - citadel.git/blobdiff - webcit-ng/ctdlfunctions.c
Moved the remaining else blocks
[citadel.git] / webcit-ng / ctdlfunctions.c
index 0365ad498c6cea6a97d0a046d4cfad9234bd00d9..d937110b75adf10713abb302dd221a1f945c07de 100644 (file)
@@ -1,7 +1,7 @@
 //
 // These utility functions loosely make up a Citadel protocol client library.
 //
-// Copyright (c) 2016-2018 by the citadel.org team
+// Copyright (c) 2016-2021 by the citadel.org team
 //
 // This program is open source software.  It runs great on the
 // Linux operating system (and probably elsewhere).  You can use,
@@ -35,7 +35,8 @@ void ctdl_delete_msgs(struct ctdlsession *c, long *msgnums, int num_msgs) {
                        ctdl_printf(c, "%s", buf);
                        ctdl_readline(c, buf, sizeof(buf));
                        syslog(LOG_DEBUG, "%s", buf);
-               } else {
+               }
+               else {
                        strcat(buf, ",");
                }
        } while (++i < num_msgs);