From 7e147607f56648e19a856fd1a1f905635e1f359e Mon Sep 17 00:00:00 2001 From: Kevin Steves Date: Fri, 22 Mar 2002 18:07:17 +0000 Subject: - (stevesk) [monitor.c monitor_wrap.c] #ifdef HAVE_PW_CLASS_IN_PASSWD --- monitor_wrap.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'monitor_wrap.c') diff --git a/monitor_wrap.c b/monitor_wrap.c index e477cff25..8b0ded190 100644 --- a/monitor_wrap.c +++ b/monitor_wrap.c @@ -197,7 +197,9 @@ mm_getpwnamallow(const char *login) pw->pw_name = buffer_get_string(&m, NULL); pw->pw_passwd = buffer_get_string(&m, NULL); pw->pw_gecos = buffer_get_string(&m, NULL); +#ifdef HAVE_PW_CLASS_IN_PASSWD pw->pw_class = buffer_get_string(&m, NULL); +#endif pw->pw_dir = buffer_get_string(&m, NULL); pw->pw_shell = buffer_get_string(&m, NULL); buffer_free(&m); -- cgit v1.2.3