mirror of
https://git.savannah.nongnu.org/git/lwip.git
synced 2026-09-21 16:23:43 +08:00
fix logic in get_secret. Was a gcc warning
This commit is contained in:
@@ -610,7 +610,7 @@ int get_secret(
|
|||||||
|
|
||||||
addrs = NULL;
|
addrs = NULL;
|
||||||
|
|
||||||
if(!client || !client[0] && strcmp(client, ppp_settings.user)) {
|
if(!client || !client[0] || strcmp(client, ppp_settings.user)) {
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user