summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWalter de Jong <walter@heiho.net>2013-03-22 22:25:49 +0100
committerWalter de Jong <walter@heiho.net>2013-03-22 22:25:49 +0100
commit79add426641ee685205d473605fd315cd60043f9 (patch)
treec2d57ab3bb66f593438c16766a04059ee2d15896
parent79f345b00a42836d653442fe1ef003228c5247e3 (diff)
downloadpam_tacplus-79add426641ee685205d473605fd315cd60043f9.tar.gz
pam_tacplus-79add426641ee685205d473605fd315cd60043f9.zip
readability + fix vim syntax highlighting
-rw-r--r--support.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/support.c b/support.c
index 8aa2a0d..1e048a4 100644
--- a/support.c
+++ b/support.c
@@ -116,10 +116,11 @@ int converse(pam_handle_t * pamh, int nargs
if ((retval = pam_get_item (pamh, PAM_CONV, (void *)&conv)) == PAM_SUCCESS) {
#if (defined(__linux__) || defined(__NetBSD__))
retval = conv->conv (nargs, (const struct pam_message **) message,
+ response, conv->appdata_ptr);
#else
retval = conv->conv (nargs, (struct pam_message **) message,
-#endif
response, conv->appdata_ptr);
+#endif
if (retval != PAM_SUCCESS) {
_pam_log(LOG_ERR, "(pam_tacplus) converse returned %d", retval);
_pam_log(LOG_ERR, "that is: %s", pam_strerror (pamh, retval));