]> code.citadel.org Git - citadel.git/blobdiff - webcit-ng/server/forum_view.c
Handle start and end times together
[citadel.git] / webcit-ng / server / forum_view.c
index 09ee7800f047ba7d1d74528c72ee98fb0fca92ef..a0753652c39eb26196ce3d2ebcf6c6f8b6cc358b 100644 (file)
@@ -1,10 +1,9 @@
 // The code in here feeds messages out as JSON to the client browser.  It is currently being used
 // for the forum view, but as we implement other views we'll probably reuse a lot of what's here.
 //
-// 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"
 
@@ -124,7 +123,7 @@ void json_render_one_message(struct http_transaction *h, struct ctdlsession *c,
 
        if (!strcmp(buf, "text")) {
                while ((ctdl_readline(c, buf, sizeof(buf)) >= 0) && (strcmp(buf, "")) && (strcmp(buf, "000"))) {
-                       // rfc822 header parsing here
+                       // RFC822 header parsing here
                        if (!strncasecmp(buf, "Content-transfer-encoding:", 26)) {
                                strcpy(content_transfer_encoding, &buf[26]);
                                string_trim(content_transfer_encoding);