|
|
@ -187,6 +187,7 @@ bool |
|
|
|
unban(cfg_t *cfg, const char *ip) { |
|
|
|
unban(cfg_t *cfg, const char *ip) { |
|
|
|
assert(cfg != NULL); |
|
|
|
assert(cfg != NULL); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
(void)(cfg); /* suppress warning for unused variable 'cfg' */ |
|
|
|
(void)(ip); /* suppress warning for unused variable 'ip' */ |
|
|
|
(void)(ip); /* suppress warning for unused variable 'ip' */ |
|
|
|
return true; |
|
|
|
return true; |
|
|
|
} |
|
|
|
} |
|
|
@ -195,6 +196,7 @@ bool |
|
|
|
check(cfg_t *cfg, const char *ip) { |
|
|
|
check(cfg_t *cfg, const char *ip) { |
|
|
|
assert(cfg != NULL); |
|
|
|
assert(cfg != NULL); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
(void)(cfg); /* suppress warning for unused variable 'cfg' */ |
|
|
|
(void)(ip); /* suppress warning for unused variable 'ip' */ |
|
|
|
(void)(ip); /* suppress warning for unused variable 'ip' */ |
|
|
|
return false; |
|
|
|
return false; |
|
|
|
} |
|
|
|
} |
|
|
|