diff options
author | sasha <sasha@97f52cf1-0a1b-0410-bd0e-c28be96e8082> | 2008-03-06 07:44:11 +0000 |
---|---|---|
committer | sasha <sasha@97f52cf1-0a1b-0410-bd0e-c28be96e8082> | 2008-03-06 07:44:11 +0000 |
commit | c483fa5ee1a65814e44b1a2c14a3c04f3904a413 (patch) | |
tree | e6694062358ace59cf38ad488a37fcda763faa9a /src/zabbix_server/discoverer | |
parent | c535181b98c8c090877159d41229b15e5110a057 (diff) | |
download | zabbix-c483fa5ee1a65814e44b1a2c14a3c04f3904a413.tar.gz zabbix-c483fa5ee1a65814e44b1a2c14a3c04f3904a413.tar.xz zabbix-c483fa5ee1a65814e44b1a2c14a3c04f3904a413.zip |
- [ZBX-322] fixed possible incorrect autodiscovery
[svn merge svn://svn.zabbix.com/branches/1.4 -r5437:5447]
git-svn-id: svn://svn.zabbix.com/trunk@5448 97f52cf1-0a1b-0410-bd0e-c28be96e8082
Diffstat (limited to 'src/zabbix_server/discoverer')
-rw-r--r-- | src/zabbix_server/discoverer/discoverer.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/zabbix_server/discoverer/discoverer.c b/src/zabbix_server/discoverer/discoverer.c index d81fde91..7a839958 100644 --- a/src/zabbix_server/discoverer/discoverer.c +++ b/src/zabbix_server/discoverer/discoverer.c @@ -859,7 +859,7 @@ static void process_rule(DB_DRULE *rule) rule->druleid); while (NULL != (row = DBfetch(result))) { - memset(&check, 0, sizeof(DB_RESULT)); + memset(&check, 0, sizeof(check)); ZBX_STR2UINT64(check.dcheckid,row[0]); check.druleid = rule->druleid; |