Add missing trim() call to the server list code for monitors

This commit is contained in:
Mark Riddoch 2014-10-15 13:26:00 +01:00
parent a63e251d09
commit 4acd85cf82

View File

@ -817,7 +817,7 @@ int error_count = 0;
int found = 0;
while (obj1)
{
if (strcmp(s, obj1->object) == 0 &&
if (strcmp(trim(s), obj1->object) == 0 &&
obj->element && obj1->element)
{
found = 1;
@ -1449,7 +1449,7 @@ SERVER *server;
int found = 0;
while (obj1)
{
if (strcmp(s, obj1->object) == 0 &&
if (strcmp(trim(s), obj1->object) == 0 &&
obj->element && obj1->element)
{
found = 1;