Project

General

Profile

Bug #2355 » 0040-kick_command-Use-macros-instead-of-const-variables.patch

S3_3, S3_2 - Marko Lindqvist, 10/17/2026 10:42 AM

View differences:

server/stdinhand.c
}
if (NULL != caller && ALLOW_ADMIN > conn_get_access(caller)) {
const int MIN_UNIQUE_CONNS = 3;
#define MIN_UNIQUE_CONNS 3
const char *unique_ipaddr[MIN_UNIQUE_CONNS];
int i, num_unique_connections = 0;
......
}
}
#undef MIN_UNIQUE_CONNS
if (check) {
return TRUE;
}
(2-2/2)