diff options
| author | osmiy <osmiy@97f52cf1-0a1b-0410-bd0e-c28be96e8082> | 2006-07-13 12:00:27 +0000 |
|---|---|---|
| committer | osmiy <osmiy@97f52cf1-0a1b-0410-bd0e-c28be96e8082> | 2006-07-13 12:00:27 +0000 |
| commit | bae7d0f66be396db7f5ff3eefc3dc21c34e131c9 (patch) | |
| tree | 9a8bb8af899b1b91602cb39461b1df278ef3aeda /src/libs/zbxsysinfo/common/common.c | |
| parent | 697332fe6532254a7c9125aefdfd3a68dda2a6f1 (diff) | |
| download | zabbix-bae7d0f66be396db7f5ff3eefc3dc21c34e131c9.tar.gz zabbix-bae7d0f66be396db7f5ff3eefc3dc21c34e131c9.tar.xz zabbix-bae7d0f66be396db7f5ff3eefc3dc21c34e131c9.zip | |
fixed NTP protocol monitoring
git-svn-id: svn://svn.zabbix.com/trunk@3043 97f52cf1-0a1b-0410-bd0e-c28be96e8082
Diffstat (limited to 'src/libs/zbxsysinfo/common/common.c')
| -rw-r--r-- | src/libs/zbxsysinfo/common/common.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libs/zbxsysinfo/common/common.c b/src/libs/zbxsysinfo/common/common.c index a9b61b1e..d54179f3 100644 --- a/src/libs/zbxsysinfo/common/common.c +++ b/src/libs/zbxsysinfo/common/common.c @@ -1859,7 +1859,7 @@ int CHECK_SERVICE_PERF(const char *cmd, const char *param, unsigned flags, AGENT /* check_service[ssh,127.0.0.1,ssh] */ int CHECK_SERVICE(const char *cmd, const char *param, unsigned flags, AGENT_RESULT *result) { - short port=0; + unsigned short port=0; char service[MAX_STRING_LEN]; char ip[MAX_STRING_LEN]; char str_port[MAX_STRING_LEN]; |
