summaryrefslogtreecommitdiffstats
path: root/src/zabbix_agent
diff options
context:
space:
mode:
authorhugetoad <hugetoad@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2002-04-14 14:21:49 +0000
committerhugetoad <hugetoad@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2002-04-14 14:21:49 +0000
commit4a66f3018c112b3b341f734dddaf87626cb0fbab (patch)
tree1c964ee8173bf61402f4d7124fd89b860e294765 /src/zabbix_agent
parent3c264ecf3543daf6b78a816aa2a9375dc43044bf (diff)
downloadzabbix-4a66f3018c112b3b341f734dddaf87626cb0fbab.tar.gz
zabbix-4a66f3018c112b3b341f734dddaf87626cb0fbab.tar.xz
zabbix-4a66f3018c112b3b341f734dddaf87626cb0fbab.zip
- new algorithm for audible notification in screen "Status of Triggers"
(Alexei) - changed definition of DebugLevel (Alexei) git-svn-id: svn://svn.zabbix.com/trunk@350 97f52cf1-0a1b-0410-bd0e-c28be96e8082
Diffstat (limited to 'src/zabbix_agent')
-rw-r--r--src/zabbix_agent/sysinfo.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/zabbix_agent/sysinfo.c b/src/zabbix_agent/sysinfo.c
index a149d0da..d74cf262 100644
--- a/src/zabbix_agent/sysinfo.c
+++ b/src/zabbix_agent/sysinfo.c
@@ -208,7 +208,7 @@ void process(char *command,char *value)
char key[MAX_STRING_LEN+1];
char param[1024];
char cmd[1024];
- char *res2;
+ char *res2 = NULL;
int ret_str=0;
for( p=command+strlen(command)-1; p>command && ( *p=='\r' || *p =='\n' || *p == ' ' ); --p );