diff options
author | Jay Sorg <jay.sorg@gmail.com> | 2013-01-16 10:31:23 -0800 |
---|---|---|
committer | Jay Sorg <jay.sorg@gmail.com> | 2013-01-16 10:31:23 -0800 |
commit | e632bc794bdafb8ea025396807e107a1e4b751af (patch) | |
tree | 1d19ff7a05494200f854913baf99c17232f12003 /xrdp | |
parent | 6daec38c65153a04329f8d33b2466d6ed205a171 (diff) | |
parent | 01330445ce9d2f3157b97cdee4e63242c7c59500 (diff) | |
download | xrdp-proprietary-e632bc794bdafb8ea025396807e107a1e4b751af.tar.gz xrdp-proprietary-e632bc794bdafb8ea025396807e107a1e4b751af.zip |
Merge branch 'master' of github.com:FreeRDP/xrdp
Diffstat (limited to 'xrdp')
-rw-r--r-- | xrdp/xrdp_mm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xrdp/xrdp_mm.c b/xrdp/xrdp_mm.c index 9b0de186..fc00678f 100644 --- a/xrdp/xrdp_mm.c +++ b/xrdp/xrdp_mm.c @@ -2010,7 +2010,7 @@ find_name_in_lists(char *inName, struct list *names) for (index = 0; index < names->count; index++) { name = (char *)list_get_item(names, index); - if ( (name != 0) && g_strncmp(name, inName, MAX_CHANNEL_NAME)) + if ( (name != 0) && (g_strncmp(name, inName, MAX_CHANNEL_NAME) == 0) ) { reply = index; break; /* stop loop - item found*/ |