summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorhugetoad <hugetoad@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2005-11-17 18:25:41 +0000
committerhugetoad <hugetoad@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2005-11-17 18:25:41 +0000
commit8ec3fa35ba473f8d0a4dd8d484a3e5600b592fc1 (patch)
treeb58b71117ebcf551bce037c6d4aef09057f99daf /src
parenta2041b6cda1acfc73fbcd0140d992717f78d794e (diff)
downloadzabbix-8ec3fa35ba473f8d0a4dd8d484a3e5600b592fc1.tar.gz
zabbix-8ec3fa35ba473f8d0a4dd8d484a3e5600b592fc1.tar.xz
zabbix-8ec3fa35ba473f8d0a4dd8d484a3e5600b592fc1.zip
MInor changes.
git-svn-id: svn://svn.zabbix.com/trunk@2332 97f52cf1-0a1b-0410-bd0e-c28be96e8082
Diffstat (limited to 'src')
-rw-r--r--src/zabbix_server/poller/checks_agent.c11
1 files changed, 6 insertions, 5 deletions
diff --git a/src/zabbix_server/poller/checks_agent.c b/src/zabbix_server/poller/checks_agent.c
index c3624b69..9936d3c1 100644
--- a/src/zabbix_server/poller/checks_agent.c
+++ b/src/zabbix_server/poller/checks_agent.c
@@ -176,13 +176,14 @@ int get_value_agent(DB_ITEM *item, AGENT_RESULT *result)
{
zabbix_log(LOG_LEVEL_WARNING, "Problem with close [%s]", strerror(errno));
}
- zabbix_log(LOG_LEVEL_DEBUG, "Got string:[%d] [%s]", len, c);
- if(len>0)
- {
- c[len-1]=0;
- }
+ delete_reol(c);
+/* if(len>0)
+ {
+ c[len-1]=0;
+ }*/
+ zabbix_log(LOG_LEVEL_DEBUG, "Got string:[%d] [%s]", len, c);
if( strcmp(c,"ZBX_NOTSUPPORTED") == 0)
{