chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
fix spelling of privilege
[elogind.git]
/
src
/
shared
/
ratelimit.c
diff --git
a/src/shared/ratelimit.c
b/src/shared/ratelimit.c
index 1054d52f979ee8e493c52875a40d68b37994cc8e..01b62b7b384e25799b1d90a697290039e2a3cbd9 100644
(file)
--- a/
src/shared/ratelimit.c
+++ b/
src/shared/ratelimit.c
@@
-46,7
+46,7
@@
bool ratelimit_test(RateLimit *r) {
goto good;
}
- if (r->num <
=
r->burst)
+ if (r->num < r->burst)
goto good;
return false;