mirror of
https://github.com/systemd/systemd.git
synced 2024-11-06 08:26:52 +03:00
ratelimit: fix macro definition
This commit is contained in:
parent
2c6db6fb9b
commit
acdfc041cc
@ -46,7 +46,7 @@ typedef struct RateLimit {
|
|||||||
_r->burst = (_burst); \
|
_r->burst = (_burst); \
|
||||||
_r->num = 0; \
|
_r->num = 0; \
|
||||||
_r->begin = 0; \
|
_r->begin = 0; \
|
||||||
} while (false);
|
} while (false)
|
||||||
|
|
||||||
bool ratelimit_test(RateLimit *r);
|
bool ratelimit_test(RateLimit *r);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user