Browse Source

* style fix

master
Alex 'AdUser' Z 4 years ago
parent
commit
7a978132f8
  1. 3
      src/jail.c

3
src/jail.c

@ -561,8 +561,7 @@ f2b_jail_cmd_ip_xxx(char *res, size_t ressize, f2b_jail_t *jail, int op, const c
if (op > 0) { if (op > 0) {
/* ban */ /* ban */
time_t now = time(NULL); time_t now = time(NULL);
addr = f2b_ipaddr_create(ip); if ((addr = f2b_ipaddr_create(ip)) == NULL) {
if (!addr) {
snprintf(res, ressize, "can't parse ip address: %s", ip); snprintf(res, ressize, "can't parse ip address: %s", ip);
return; return;
} }

Loading…
Cancel
Save