From 153b59ad8447d47d4a241e0f63307b096585172b Mon Sep 17 00:00:00 2001 From: ilsimo Date: Fri, 13 Jan 2006 15:51:23 +0000 Subject: new session list code added support for new [sessions] configuration options --- sesman/access.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'sesman/access.c') diff --git a/sesman/access.c b/sesman/access.c index 594120d6..96750c3f 100644 --- a/sesman/access.c +++ b/sesman/access.c @@ -26,8 +26,6 @@ #include #include #include -//#include -//#include extern struct config_sesman g_cfg; @@ -76,7 +74,7 @@ access_login_allowed(char* user) while (0!=groups->gr_mem[i]) { LOG_DBG("user: %s", groups->gr_mem[i]); - if (0==strcmp(groups->gr_mem[i], user)) return 1; + if (0==g_strcmp(groups->gr_mem[i], user)) return 1; i++; } -- cgit v1.2.1