summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2012-02-07 15:56:53 +0100
committerLennart Poettering <lennart@poettering.net>2012-02-07 15:56:53 +0100
commitacdfc041cc843283c7a92a8448a09370d01ed74c (patch)
tree7e45e89445558eee35a7b29071a0dbdd68e67998
parent2c6db6fb9b1a10184b086df0d23228c4c0205a49 (diff)
ratelimit: fix macro definition
-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);