diff options
| author | sasha <sasha@97f52cf1-0a1b-0410-bd0e-c28be96e8082> | 2008-02-20 10:43:46 +0000 |
|---|---|---|
| committer | sasha <sasha@97f52cf1-0a1b-0410-bd0e-c28be96e8082> | 2008-02-20 10:43:46 +0000 |
| commit | 366f4d14bd9d239fa54e47ceb0e223985a1f08a5 (patch) | |
| tree | d85ae7ecc6708a5a9b1e2fae4bb1b48939af96aa /src/libs | |
| parent | 3c4f934915ba808bb42fbc9fa08276206e50eb3c (diff) | |
- [DEV-109] Server changes
git-svn-id: svn://svn.zabbix.com/trunk@5375 97f52cf1-0a1b-0410-bd0e-c28be96e8082
Diffstat (limited to 'src/libs')
| -rw-r--r-- | src/libs/zbxdbhigh/db.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libs/zbxdbhigh/db.c b/src/libs/zbxdbhigh/db.c index 5dcb31a3..2b5b70ce 100644 --- a/src/libs/zbxdbhigh/db.c +++ b/src/libs/zbxdbhigh/db.c @@ -1670,7 +1670,7 @@ void DBget_item_from_db(DB_ITEM *item,DB_ROW row) ZBX_STR2UINT64(item->itemid, row[0]); /* item->itemid=atoi(row[0]); */ - zbx_snprintf(item->key, ITEM_KEY_LEN, "%s", row[1]); + zbx_snprintf(item->key, ITEM_KEY_LEN_MAX, "%s", row[1]); item->host_name=row[2]; item->port=atoi(row[3]); item->delay=atoi(row[4]); |
