diff options
| author | norrarvid <norrarvid@gmail.com> | 2012-06-05 08:08:04 +0200 |
|---|---|---|
| committer | norrarvid <norrarvid@gmail.com> | 2012-06-05 08:08:04 +0200 |
| commit | eef475e025b62aaebc24b1eaa603cb3a92ffd07a (patch) | |
| tree | 03b136fea5bbc428008be16c20af079490741da3 /xrdp/lang.c | |
| parent | a555dc5a4282514b9d4eae2a26a5d57665176f1a (diff) | |
| parent | dbd2cbca8e5ad361706b0ac013b62607bae4b5d3 (diff) | |
| download | xrdp-proprietary-eef475e025b62aaebc24b1eaa603cb3a92ffd07a.tar.gz xrdp-proprietary-eef475e025b62aaebc24b1eaa603cb3a92ffd07a.zip | |
timeout added for the reply to come from sesman
Diffstat (limited to 'xrdp/lang.c')
| -rw-r--r-- | xrdp/lang.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/xrdp/lang.c b/xrdp/lang.c index 6bcf7ebe..1c13839f 100644 --- a/xrdp/lang.c +++ b/xrdp/lang.c @@ -22,6 +22,7 @@ */ #include "xrdp.h" +#include "log.h" /* map for rdp to x11 scancodes code1 is regular scancode, code2 is extended scancode */ @@ -232,13 +233,18 @@ get_keymaps(int keylayout, struct xrdp_keymap* keymap) km_read_section(fd, "shiftcapslock", keymap->keys_shiftcapslock); if (g_memcmp(lkeymap, keymap, sizeof(struct xrdp_keymap)) != 0) { - g_writeln("local keymap file for 0x%4.4x found and dosen't match " + log_message(LOG_LEVEL_WARNING, + "local keymap file for 0x%4.4x found and dosen't match " "built in keymap, using local keymap file", keylayout); } g_free(lkeymap); g_file_close(fd); } } + else + { + log_message(LOG_LEVEL_WARNING,"File does not exist: %s",filename); + } g_free(filename); return 0; } |
