diff options
| author | Kevin Sangeelee <kevin@susa.net> | 2020-09-29 22:55:39 +0100 |
|---|---|---|
| committer | Drew DeVault <sir@cmpwn.com> | 2020-09-29 18:04:12 -0400 |
| commit | cff1f71f1a8f781905006fbfd22accfb2fee40d3 (patch) | |
| tree | 69571dfbbde747964a3ae00e43f0129a6a8c0821 /include | |
| parent | 477bf5db8180b4705a2d248a1ba9126c6a22c09f (diff) | |
| download | gmnisrv-cff1f71f1a8f781905006fbfd22accfb2fee40d3.tar.gz gmnisrv-cff1f71f1a8f781905006fbfd22accfb2fee40d3.tar.xz gmnisrv-cff1f71f1a8f781905006fbfd22accfb2fee40d3.zip | |
Change assert to 2-param version to comply with C11.
Diffstat (limited to 'include')
| -rw-r--r-- | include/server.h | 2 |
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; |
