Fix for % detection
Fix for % detection
This commit is contained in:
parent
2268bf89aa
commit
42d0b3c743
@ -344,8 +344,8 @@ getUsers(SERVICE *service, struct users *users)
|
||||
strcpy(ret_ip, row[1]);
|
||||
tmp = ret_ip+strlen(ret_ip);
|
||||
|
||||
while(tmp) {
|
||||
if (tmp == '%') {
|
||||
while(*tmp) {
|
||||
if (*tmp == '%') {
|
||||
/* set last byte only to 1
|
||||
* avoiding setipadress failure
|
||||
* for Class C address
|
||||
|
Loading…
x
Reference in New Issue
Block a user