Mercurial > dropbear
comparison svr-authpam.c @ 1238:c59c10803afd
Fix parentheses weird placement
author | Chocobo1 <Chocobo1@users.noreply.github.com> |
---|---|
date | Tue, 05 Jan 2016 12:49:04 +0800 |
parents | aaf576b27a10 |
children | 750ec4ec4cbe |
comparison
equal
deleted
inserted
replaced
1237:888e3d17e962 | 1238:c59c10803afd |
---|---|
216 rc, pam_strerror(pamHandlep, rc)); | 216 rc, pam_strerror(pamHandlep, rc)); |
217 goto cleanup; | 217 goto cleanup; |
218 } | 218 } |
219 | 219 |
220 /* just to set it to something */ | 220 /* just to set it to something */ |
221 if ((rc = pam_set_item(pamHandlep, PAM_TTY, "ssh") != PAM_SUCCESS)) { | 221 if ((rc = pam_set_item(pamHandlep, PAM_TTY, "ssh")) != PAM_SUCCESS) { |
222 dropbear_log(LOG_WARNING, "pam_set_item() failed, rc=%d, %s", | 222 dropbear_log(LOG_WARNING, "pam_set_item() failed, rc=%d, %s", |
223 rc, pam_strerror(pamHandlep, rc)); | 223 rc, pam_strerror(pamHandlep, rc)); |
224 goto cleanup; | 224 goto cleanup; |
225 } | 225 } |
226 | 226 |