0
0
mirror of https://github.com/darkk/redsocks.git synced 2025-08-26 19:55:30 +00:00

Fix typo introduced in 003765ba, fixes #81

This commit is contained in:
Leonid Evdokimov 2016-04-08 19:55:32 +03:00
parent 4521797847
commit f94a981512

View File

@ -82,7 +82,7 @@ static void socks5_instance_init(redsocks_instance *instance)
if (config->login || config->password) {
bool deauth = false;
if (config->login && config->password) {
deauth = socks5_is_valid_cred(config->login, config->password);
deauth = ! socks5_is_valid_cred(config->login, config->password);
} else {
log_error(LOG_WARNING, "Socks5 needs either both login and password or none of them");
deauth = true;