diff options
author | Marc-André Moreau <marcandre.moreau@gmail.com> | 2013-01-16 07:06:21 -0800 |
---|---|---|
committer | Marc-André Moreau <marcandre.moreau@gmail.com> | 2013-01-16 07:06:21 -0800 |
commit | 01330445ce9d2f3157b97cdee4e63242c7c59500 (patch) | |
tree | a2ce1fb9e2e0d9d3c51c2bc3136763e814cceaa8 /xrdp | |
parent | 88be8505a9a61ed9de288dfbb486c815b440ef36 (diff) | |
parent | c9e934c320d9d7895329ce6cdc526f36e2a1ce67 (diff) | |
download | xrdp-proprietary-01330445ce9d2f3157b97cdee4e63242c7c59500.tar.gz xrdp-proprietary-01330445ce9d2f3157b97cdee4e63242c7c59500.zip |
Merge pull request #51 from Osirium/bug/channel-enables
Bug/channel enables
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*/ |