diff options
Diffstat (limited to 'monitor_wrap.c')
-rw-r--r-- | monitor_wrap.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/monitor_wrap.c b/monitor_wrap.c index e1b6512b4..e005a4505 100644 --- a/monitor_wrap.c +++ b/monitor_wrap.c | |||
@@ -257,10 +257,10 @@ mm_auth2_read_banner(void) | |||
257 | return (banner); | 257 | return (banner); |
258 | } | 258 | } |
259 | 259 | ||
260 | /* Inform the privileged process about service and style */ | 260 | /* Inform the privileged process about service, style, and role */ |
261 | 261 | ||
262 | void | 262 | void |
263 | mm_inform_authserv(char *service, char *style) | 263 | mm_inform_authserv(char *service, char *style, char *role) |
264 | { | 264 | { |
265 | Buffer m; | 265 | Buffer m; |
266 | 266 | ||
@@ -269,6 +269,7 @@ mm_inform_authserv(char *service, char *style) | |||
269 | buffer_init(&m); | 269 | buffer_init(&m); |
270 | buffer_put_cstring(&m, service); | 270 | buffer_put_cstring(&m, service); |
271 | buffer_put_cstring(&m, style ? style : ""); | 271 | buffer_put_cstring(&m, style ? style : ""); |
272 | buffer_put_cstring(&m, role ? role : ""); | ||
272 | 273 | ||
273 | mm_request_send(pmonitor->m_recvfd, MONITOR_REQ_AUTHSERV, &m); | 274 | mm_request_send(pmonitor->m_recvfd, MONITOR_REQ_AUTHSERV, &m); |
274 | 275 | ||