diff options
Diffstat (limited to 'monitor.c')
-rw-r--r-- | monitor.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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 | ||