1
0
forked from aniani/gmnisrv

Change assert to 2-param version to comply with C11.

This commit is contained in:
Kevin Sangeelee 2020-09-29 22:55:39 +01:00 committed by Drew DeVault
parent 477bf5db81
commit cff1f71f1a

View File

@ -27,7 +27,7 @@ struct gmnisrv_client {
BIO *bio, *sbio; BIO *bio, *sbio;
char buf[4096]; 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; size_t bufix, bufln;
enum response_state state; enum response_state state;