summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorBartos-Elekes Zsolt <muszi@kite.hu>2016-09-12 11:33:57 +0200
committerTomas Mraz <tmraz@fedoraproject.org>2016-09-12 11:33:57 +0200
commitc843abef2081ac7278a6a372f8d53bbf580bcf94 (patch)
tree0068e03539ae671b1eb7c6a0e5537025e1b80098 /modules
parent1fb9d2faeed37f79e62552b5e8b98ff5b8d33831 (diff)
pam_issue: Fix no prompting in parse escape codes mode.
* modules/pam_issue/pam_issue.c (read_issue_quoted): Fix misplaced strcat().
Diffstat (limited to 'modules')
-rw-r--r--modules/pam_issue/pam_issue.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/pam_issue/pam_issue.c b/modules/pam_issue/pam_issue.c
index 735a2744..5fa21c37 100644
--- a/modules/pam_issue/pam_issue.c
+++ b/modules/pam_issue/pam_issue.c
@@ -277,8 +277,8 @@ read_issue_quoted(pam_handle_t *pamh, FILE *fp, char **prompt)
return PAM_BUF_ERR;
}
issue = new_issue;
- strcat(issue, buf);
}
+ strcat(issue, buf);
}
if (ferror(fp)) {