Merge branch 'master' of github.com:FreeRDP/xrdp

This commit is contained in:
Jay Sorg 2013-01-16 10:31:23 -08:00
commit e632bc794b

View File

@ -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*/