summaryrefslogtreecommitdiffstats
path: root/src/libs/zbxsysinfo/common/http.c
diff options
context:
space:
mode:
authorosmiy <osmiy@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2006-07-14 10:47:36 +0000
committerosmiy <osmiy@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2006-07-14 10:47:36 +0000
commit66dd503fd985cd589744bda91a295a7301918084 (patch)
tree2202ffd41d3d37d77951e436a23852f02c3b2632 /src/libs/zbxsysinfo/common/http.c
parentcd65966c616674fc508d28806b64d3dbcfb30a3f (diff)
downloadzabbix-66dd503fd985cd589744bda91a295a7301918084.tar.gz
zabbix-66dd503fd985cd589744bda91a295a7301918084.tar.xz
zabbix-66dd503fd985cd589744bda91a295a7301918084.zip
- added support of LDAP services monitoring for Win32 (Eugene)
- added support of "net.tcp.service.perf" for Win32 (Eugene) - added support of "net.tcp.service" for Win32 (Eugene) git-svn-id: svn://svn.zabbix.com/trunk@3045 97f52cf1-0a1b-0410-bd0e-c28be96e8082
Diffstat (limited to 'src/libs/zbxsysinfo/common/http.c')
-rw-r--r--src/libs/zbxsysinfo/common/http.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libs/zbxsysinfo/common/http.c b/src/libs/zbxsysinfo/common/http.c
index beae6fdd..1879a7c8 100644
--- a/src/libs/zbxsysinfo/common/http.c
+++ b/src/libs/zbxsysinfo/common/http.c
@@ -166,12 +166,12 @@ int WEB_PAGE_PERF(const char *cmd, const char *param, unsigned flags, AGENT_RESU
strscpy(port_str, "80");
}
- start_time = zbx_getseconds();
+ start_time = zbx_time();
buffer = calloc(1, ZABBIX_MAX_WEBPAGE_SIZE);
if(get_http_page(hostname, path, (unsigned short)atoi(port_str), buffer, ZABBIX_MAX_WEBPAGE_SIZE) == SYSINFO_RET_OK)
{
- SET_DBL_RESULT(result, zbx_getseconds() - start_time);
+ SET_DBL_RESULT(result, zbx_time() - start_time);
}
else
{