From 4acd85cf825eb23f32876d709855cb2c0be77f11 Mon Sep 17 00:00:00 2001 From: Mark Riddoch Date: Wed, 15 Oct 2014 13:26:00 +0100 Subject: [PATCH] Add missing trim() call to the server list code for monitors --- server/core/config.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/server/core/config.c b/server/core/config.c index 61bc6157d..181b009fc 100644 --- a/server/core/config.c +++ b/server/core/config.c @@ -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;