Skip to content

Commit

Permalink
Fix typo introduced in 003765b, fixes #81
Browse files Browse the repository at this point in the history
  • Loading branch information
darkk committed Apr 8, 2016
1 parent 4521797 commit f94a981
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion socks5.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit f94a981

Please sign in to comment.