summaryrefslogtreecommitdiffstats
path: root/include/db.c
diff options
context:
space:
mode:
authorhugetoad <hugetoad@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2005-01-15 09:43:01 +0000
committerhugetoad <hugetoad@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2005-01-15 09:43:01 +0000
commit8551019f76eb0497b9d1c44d01d3edae0053582e (patch)
tree494bbf47dd9efe3eaf863872b992d4bd190a1f4c /include/db.c
parent109e7d3d970622e6ea20f2c9e5522e8ae9348a74 (diff)
downloadzabbix-8551019f76eb0497b9d1c44d01d3edae0053582e.tar.gz
zabbix-8551019f76eb0497b9d1c44d01d3edae0053582e.tar.xz
zabbix-8551019f76eb0497b9d1c44d01d3edae0053582e.zip
Minor changes.
git-svn-id: svn://svn.zabbix.com/trunk@1610 97f52cf1-0a1b-0410-bd0e-c28be96e8082
Diffstat (limited to 'include/db.c')
-rw-r--r--include/db.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/db.c b/include/db.c
index 09474854..f46f2e82 100644
--- a/include/db.c
+++ b/include/db.c
@@ -2342,6 +2342,6 @@ void DBget_item_from_db(DB_ITEM *item,DB_RESULT *result, int row)
item->snmpv3_authpassphrase = DBget_field(result,i,27);
item->snmpv3_privpassphrase = DBget_field(result,i,28);
item->formula = DBget_field(result,i,29);
- item->host_status=atoi(DBget_field(result,i,30));
+ item->host_available=atoi(DBget_field(result,i,30));
}