summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/ratelimit.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ratelimit.h b/src/ratelimit.h
index a44ef70db4..a6443e7f87 100644
--- a/src/ratelimit.h
+++ b/src/ratelimit.h
@@ -46,7 +46,7 @@ typedef struct RateLimit {
_r->burst = (_burst); \
_r->num = 0; \
_r->begin = 0; \
- } while (false);
+ } while (false)
bool ratelimit_test(RateLimit *r);