summaryrefslogtreecommitdiff
path: root/monitor.c
diff options
context:
space:
mode:
Diffstat (limited to 'monitor.c')
-rw-r--r--monitor.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/monitor.c b/monitor.c
index b7463400e..00d4a785f 100644
--- a/monitor.c
+++ b/monitor.c
@@ -810,6 +810,9 @@ mm_answer_pam_account(int sock, Buffer *m)
810 ret = do_pam_account(); 810 ret = do_pam_account();
811 811
812 buffer_put_int(m, ret); 812 buffer_put_int(m, ret);
813 buffer_append(&loginmsg, "\0", 1);
814 buffer_put_cstring(m, buffer_ptr(&loginmsg));
815 buffer_clear(&loginmsg);
813 816
814 mm_request_send(sock, MONITOR_ANS_PAM_ACCOUNT, m); 817 mm_request_send(sock, MONITOR_ANS_PAM_ACCOUNT, m);
815 818