summaryrefslogtreecommitdiffstats
path: root/sesman/env.c
diff options
context:
space:
mode:
authorilsimo <ilsimo>2008-02-20 22:02:24 +0000
committerilsimo <ilsimo>2008-02-20 22:02:24 +0000
commit4c9d3862e55ab5d6fa734549478bb0a00be9f7ed (patch)
tree2efde9a8872ed90ea14521702614768aaf0b765b /sesman/env.c
parent8f0045c19b03d5c9a0baea6b72037ec226db8343 (diff)
downloadxrdp-proprietary-4c9d3862e55ab5d6fa734549478bb0a00be9f7ed.tar.gz
xrdp-proprietary-4c9d3862e55ab5d6fa734549478bb0a00be9f7ed.zip
updating logging subsystem
Diffstat (limited to 'sesman/env.c')
-rw-r--r--sesman/env.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sesman/env.c b/sesman/env.c
index e2b4fe96..72b01fdb 100644
--- a/sesman/env.c
+++ b/sesman/env.c
@@ -47,7 +47,7 @@ env_check_password_file(char* filename, char* password)
fd = g_file_open(filename);
if (fd == -1)
{
- log_message(LOG_LEVEL_WARNING, "can't read vnc password file - %s",
+ log_message(&(g_cfg.log), LOG_LEVEL_WARNING, "can't read vnc password file - %s",
filename);
return 1;
}
@@ -110,13 +110,13 @@ env_set_user(char* username, char* passwd_file, int display)
/* we use auth_file_path as requested */
g_sprintf(passwd_file, g_cfg.auth_file_path, username);
}
- LOG_DBG("pass file: %s", passwd_file);
+ LOG_DBG(&(g_cfg.log), "pass file: %s", passwd_file);
}
}
}
else
{
- log_message(LOG_LEVEL_ERROR, "error getting user info for user %s", username);
+ log_message(&(g_cfg.log), LOG_LEVEL_ERROR, "error getting user info for user %s", username);
}
return error;
}