Browse Source

Refine #940

pull/946/head
Max Lv 8 years ago
parent
commit
05450b51d4
1 changed files with 1 additions and 1 deletions
  1. 2
      src/acl.c

2
src/acl.c

@ -271,7 +271,7 @@ check_block_list(char *addr, int err_level)
return 1; return 1;
(*count) += err_level; (*count) += err_level;
} }
} else {
} else if (err_level > 0) {
int *count = (int *)ss_malloc(sizeof(int)); int *count = (int *)ss_malloc(sizeof(int));
*count = 1; *count = 1;
cache_insert(block_list, addr, addr_len, count); cache_insert(block_list, addr, addr_len, count);

Loading…
Cancel
Save