summaryrefslogtreecommitdiffstats
path: root/sesman/access.c
diff options
context:
space:
mode:
authorilsimo <ilsimo>2006-01-13 15:51:23 +0000
committerilsimo <ilsimo>2006-01-13 15:51:23 +0000
commit153b59ad8447d47d4a241e0f63307b096585172b (patch)
treed2aea8fe354a291308d80a2124dbfc05ec3fdaa8 /sesman/access.c
parentfade58ba2bf869e7e872d3003ac0962cb8f1233c (diff)
downloadxrdp-proprietary-153b59ad8447d47d4a241e0f63307b096585172b.tar.gz
xrdp-proprietary-153b59ad8447d47d4a241e0f63307b096585172b.zip
new session list code
added support for new [sessions] configuration options
Diffstat (limited to 'sesman/access.c')
-rw-r--r--sesman/access.c4
1 files changed, 1 insertions, 3 deletions
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 <sys/types.h>
#include <pwd.h>
#include <grp.h>
-//#include <unistd.h>
-//#include <pwd.h>
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++;
}