summaryrefslogtreecommitdiffstats
path: root/src/libs
diff options
context:
space:
mode:
authorosmiy <osmiy@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2007-05-18 10:56:49 +0000
committerosmiy <osmiy@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2007-05-18 10:56:49 +0000
commit45cd7fc551ffcb4e88347acf0347f5cc1915a9f1 (patch)
treefbef02dccf107fb627a596e278b0d82d8c21133e /src/libs
parent1d8f367e4c0e51436376546df93de1978bc0050c (diff)
- fixed WEB monitoring (Eugene)
git-svn-id: svn://svn.zabbix.com/trunk@4150 97f52cf1-0a1b-0410-bd0e-c28be96e8082
Diffstat (limited to 'src/libs')
-rw-r--r--src/libs/zbxcommon/str.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libs/zbxcommon/str.c b/src/libs/zbxcommon/str.c
index d9282b8a..d57ae64c 100644
--- a/src/libs/zbxcommon/str.c
+++ b/src/libs/zbxcommon/str.c
@@ -262,8 +262,8 @@ void zbx_snprintf_alloc(char **str, int *alloc_len, int *offset, int max_len, co
if(*offset + max_len >= *alloc_len)
{
- *str = zbx_realloc(*str, (*alloc_len)+128*max_len);
- *alloc_len += 128*max_len;
+ *str = zbx_realloc(*str, (*alloc_len)+64*max_len);
+ *alloc_len += 64*max_len;
}
*offset += zbx_vsnprintf(*str+*offset, max_len, fmt, args);