From 6e4e4c5b6d6208718824ccbf767508d1dd4d2305 Mon Sep 17 00:00:00 2001 From: Johannes Findeisen Date: Sat, 10 Aug 2024 22:21:20 +0200 Subject: [PATCH] More housekeeping. --- checkpw.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/checkpw.c b/checkpw.c index d48aca0..793d989 100644 --- a/checkpw.c +++ b/checkpw.c @@ -46,9 +46,8 @@ int pam_conversation(int num_msg, const struct pam_message **msg, int i; response = (struct pam_response *)malloc(sizeof(struct pam_response) * num_msg); - if (response == NULL) { + if (response == NULL) return PAM_CONV_ERR; - } for (i = 0; i < num_msg; i++) { switch (msg[i]->msg_style) {