1
0
mirror of https://git.sr.ht/~sircmpwn/gmnisrv synced 2024-12-04 14:46:42 -05:00

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;
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;