From cff1f71f1a8f781905006fbfd22accfb2fee40d3 Mon Sep 17 00:00:00 2001 From: Kevin Sangeelee Date: Tue, 29 Sep 2020 22:55:39 +0100 Subject: [PATCH] Change assert to 2-param version to comply with C11. --- include/server.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;