mirror of
https://github.com/vanhoefm/fragattacks.git
synced 2024-11-28 10:18:21 -05:00
wpa_gui: Silence a compiler warning
Signed-off-by: Jouni Malinen <j@w1.fi>
This commit is contained in:
parent
eadfeb0e93
commit
68f9f480ef
@ -476,7 +476,9 @@ void Peers::add_stations()
|
||||
add_station(info);
|
||||
|
||||
reply_len = sizeof(reply) - 1;
|
||||
snprintf(cmd, sizeof(cmd), "STA-NEXT %s", reply);
|
||||
res = snprintf(cmd, sizeof(cmd), "STA-NEXT %s", reply);
|
||||
if (res < 0 || (size_t) res >= sizeof(cmd))
|
||||
break;
|
||||
res = wpagui->ctrlRequest(cmd, reply, &reply_len);
|
||||
} while (res >= 0);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user