diff options
author | Jay Sorg <jay.sorg@gmail.com> | 2012-02-06 00:02:00 -0800 |
---|---|---|
committer | Jay Sorg <jay.sorg@gmail.com> | 2012-02-06 00:02:00 -0800 |
commit | 4ff502aa4be7cefb86c2259d8743f0c8f94dedf5 (patch) | |
tree | f79f3f871b44f8b09e81d7ab44db601ac795c4d7 /common/os_calls.c | |
parent | f10e5bbfd57d491bf3a5f6521cb8c1c55b713772 (diff) | |
download | xrdp-proprietary-4ff502aa4be7cefb86c2259d8743f0c8f94dedf5.tar.gz xrdp-proprietary-4ff502aa4be7cefb86c2259d8743f0c8f94dedf5.zip |
fix init error
Diffstat (limited to 'common/os_calls.c')
-rw-r--r-- | common/os_calls.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/common/os_calls.c b/common/os_calls.c index c964a9ff..a38eb396 100644 --- a/common/os_calls.c +++ b/common/os_calls.c @@ -93,7 +93,7 @@ g_init(const char* app_name) setlocale(LC_CTYPE, ""); if (app_name != 0) { - if (app_name[0] == 0) + if (app_name[0] != 0) { snprintf(g_temp_base, sizeof(g_temp_base), "/tmp/%s-XXXXXX", app_name); if (mkdtemp(g_temp_base) == 0) |