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) {
/* ban */
time_t now = time(NULL);
addr = f2b_ipaddr_create(ip);
if (!addr) {
if ((addr = f2b_ipaddr_create(ip)) == NULL) {
snprintf(res, ressize, "can't parse ip address: %s", ip);
return;
}

Loading…
Cancel
Save