Skip to content
Snippets Groups Projects
Commit de1993a1 authored by Chocobo1's avatar Chocobo1
Browse files

Fix parentheses weird placement

parent 9bcd5f3c
Branches
Tags
No related merge requests found
......@@ -218,7 +218,7 @@ void svr_auth_pam() {
}
/* just to set it to something */
if ((rc = pam_set_item(pamHandlep, PAM_TTY, "ssh") != PAM_SUCCESS)) {
if ((rc = pam_set_item(pamHandlep, PAM_TTY, "ssh")) != PAM_SUCCESS) {
dropbear_log(LOG_WARNING, "pam_set_item() failed, rc=%d, %s",
rc, pam_strerror(pamHandlep, rc));
goto cleanup;
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment