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 /xrdp/xrdp_login_wnd.c | |
parent | a386eac0f931716e421e20a7cc07c2f0b4e70a2f (diff) | |
download | xrdp-proprietary-23ffdb0c5fe0315d9d237f168e7d72abe0ba422c.tar.gz xrdp-proprietary-23ffdb0c5fe0315d9d237f168e7d72abe0ba422c.zip |
autotools fix and file_loc.h simplified
Diffstat (limited to 'xrdp/xrdp_login_wnd.c')
-rw-r--r-- | xrdp/xrdp_login_wnd.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/xrdp/xrdp_login_wnd.c b/xrdp/xrdp_login_wnd.c index 65b89749..6ac8e11d 100644 --- a/xrdp/xrdp_login_wnd.c +++ b/xrdp/xrdp_login_wnd.c @@ -390,6 +390,7 @@ xrdp_wm_login_fill_in_combo(struct xrdp_wm* self, struct xrdp_bitmap* b) char* q; char* r; char name[256]; + char cfg_file[256]; struct xrdp_mod_data* mod_data; sections = list_create(); @@ -398,7 +399,8 @@ xrdp_wm_login_fill_in_combo(struct xrdp_wm* self, struct xrdp_bitmap* b) section_names->auto_free = 1; section_values = list_create(); section_values->auto_free = 1; - fd = g_file_open(XRDP_CFG_FILE); /* xrdp.ini */ + g_snprintf(cfg_file, 255, "%s/xrdp.ini", XRDP_CFG_PATH); + fd = g_file_open(cfg_file); /* xrdp.ini */ file_read_sections(fd, sections); for (i = 0; i < sections->count; i++) { |