forum_view.c: log unhandled headers
authorArt Cancro <ajc@citadel.org>
Mon, 10 Jul 2023 22:00:59 +0000 (13:00 -0900)
committerArt Cancro <ajc@citadel.org>
Mon, 10 Jul 2023 22:00:59 +0000 (13:00 -0900)
webcit-ng/server/forum_view.c

index ef16e4eeb54089dcc41cfe49a623317f9215bbe8..737fa955e5717e65fe14e7aff00206c8c61b7bb1 100644 (file)
@@ -88,6 +88,9 @@ void json_render_one_message(struct http_transaction *h, struct ctdlsession *c,
                else if (!strncasecmp(buf, "cccc=", 5)) {
                        JsonObjectAppend(j, json_tokenize_recipients(HKEY("cccc"), &buf[5]));
                }
+               else {
+                       syslog(LOG_DEBUG, "unhandled header: %s", buf);
+               }
        }
        JsonObjectAppend(j, NewJsonNumber(HKEY("locl"), message_originated_locally));