summaryrefslogtreecommitdiffstats
path: root/include/server.h
diff options
context:
space:
mode:
authorKevin Sangeelee <kevin@susa.net>2020-09-29 22:55:39 +0100
committerDrew DeVault <sir@cmpwn.com>2020-09-29 18:04:12 -0400
commitcff1f71f1a8f781905006fbfd22accfb2fee40d3 (patch)
tree69571dfbbde747964a3ae00e43f0129a6a8c0821 /include/server.h
parent477bf5db8180b4705a2d248a1ba9126c6a22c09f (diff)
downloadgmnisrv-cff1f71f1a8f781905006fbfd22accfb2fee40d3.tar.gz
gmnisrv-cff1f71f1a8f781905006fbfd22accfb2fee40d3.tar.xz
gmnisrv-cff1f71f1a8f781905006fbfd22accfb2fee40d3.zip
Change assert to 2-param version to comply with C11.
Diffstat (limited to 'include/server.h')
-rw-r--r--include/server.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/server.h b/include/server.h
index c6f4a38..db68e33 100644
--- a/include/server.h
+++ b/include/server.h
@@ -27,7 +27,7 @@ struct gmnisrv_client {
BIO *bio, *sbio;
char buf[4096];
- static_assert(GEMINI_MAX_URL + 3 < 4096);
+ static_assert(GEMINI_MAX_URL + 3 < 4096, "GEMINI_MAX_URL is too high");
size_t bufix, bufln;
enum response_state state;