diff options
author | jsorg71 <jsorg71> | 2009-05-19 04:23:49 +0000 |
---|---|---|
committer | jsorg71 <jsorg71> | 2009-05-19 04:23:49 +0000 |
commit | 23ffdb0c5fe0315d9d237f168e7d72abe0ba422c (patch) | |
tree | 9c565ce9f75c1aab5329837d209af63a9dd74a54 /libxrdp/xrdp_rdp.c | |
parent | a386eac0f931716e421e20a7cc07c2f0b4e70a2f (diff) | |
download | xrdp-proprietary-23ffdb0c5fe0315d9d237f168e7d72abe0ba422c.tar.gz xrdp-proprietary-23ffdb0c5fe0315d9d237f168e7d72abe0ba422c.zip |
autotools fix and file_loc.h simplified
Diffstat (limited to 'libxrdp/xrdp_rdp.c')
-rw-r--r-- | libxrdp/xrdp_rdp.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/libxrdp/xrdp_rdp.c b/libxrdp/xrdp_rdp.c index a217791b..c8e9698b 100644 --- a/libxrdp/xrdp_rdp.c +++ b/libxrdp/xrdp_rdp.c @@ -62,12 +62,14 @@ xrdp_rdp_read_config(struct xrdp_client_info* client_info) struct list* values; char* item; char* value; + char cfg_file[256]; items = list_create(); items->auto_free = 1; values = list_create(); values->auto_free = 1; - file_by_name_read_section(XRDP_CFG_FILE, "globals", items, values); + g_snprintf(cfg_file, 255, "%s/xrdp.ini", XRDP_CFG_PATH); + file_by_name_read_section(cfg_file, "globals", items, values); for (index = 0; index < items->count; index++) { item = (char*)list_get_item(items, index); |