mirror of
https://github.com/shadowsocks/shadowsocks-libev.git
synced 2026-10-21 14:33:55 +00:00
acl: remove unused 'n' var
This commit is contained in:
@@ -120,12 +120,11 @@ update_block_list(char *addr, int err_level)
|
||||
static void
|
||||
parse_addr_cidr(const char *str, char *host, int *cidr)
|
||||
{
|
||||
int ret = -1, n = 0;
|
||||
int ret = -1;
|
||||
char *pch;
|
||||
|
||||
pch = strchr(str, '/');
|
||||
while (pch != NULL) {
|
||||
n++;
|
||||
ret = pch - str;
|
||||
pch = strchr(pch + 1, '/');
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user