]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
ratelimit: fix macro definition
authorLennart Poettering <lennart@poettering.net>
Tue, 7 Feb 2012 14:56:53 +0000 (15:56 +0100)
committerLennart Poettering <lennart@poettering.net>
Tue, 7 Feb 2012 14:56:53 +0000 (15:56 +0100)
src/ratelimit.h

index a44ef70db4f7bbfd4a8d0aa57c3b7d2968531af9..a6443e7f8797f54a58415567ec05b4269e7bfc99 100644 (file)
@@ -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);