summaryrefslogtreecommitdiffstats
path: root/src/zabbix_server/poller
diff options
context:
space:
mode:
authorhugetoad <hugetoad@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2005-12-11 08:40:16 +0000
committerhugetoad <hugetoad@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2005-12-11 08:40:16 +0000
commit042aaf68f784483305b7e0128ba568c881cade9b (patch)
treec31c534e017ab9b22ef075f76b2ca77dbf3b32f7 /src/zabbix_server/poller
parent428047af74ec7be9bf06d213d7e8a856d7fedabb (diff)
downloadzabbix-042aaf68f784483305b7e0128ba568c881cade9b.tar.gz
zabbix-042aaf68f784483305b7e0128ba568c881cade9b.tar.xz
zabbix-042aaf68f784483305b7e0128ba568c881cade9b.zip
- fixed processing of UserParameters which are pre/postfixed with spaces (Alexei)
git-svn-id: svn://svn.zabbix.com/trunk@2409 97f52cf1-0a1b-0410-bd0e-c28be96e8082
Diffstat (limited to 'src/zabbix_server/poller')
-rw-r--r--src/zabbix_server/poller/checks_agent.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/zabbix_server/poller/checks_agent.c b/src/zabbix_server/poller/checks_agent.c
index 65f4dd2d..c9fc1be6 100644
--- a/src/zabbix_server/poller/checks_agent.c
+++ b/src/zabbix_server/poller/checks_agent.c
@@ -178,6 +178,7 @@ int get_value_agent(DB_ITEM *item, AGENT_RESULT *result)
}
delete_reol(c);
+ lrtrim_spaces(c);
/* if(len>0)
{