mirror of
https://git.sr.ht/~sircmpwn/gmnisrv
synced 2024-11-03 06:07:17 -05:00
Change assert to 2-param version to comply with C11.
This commit is contained in:
parent
477bf5db81
commit
cff1f71f1a
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user