diff options
| author | alex <alex@97f52cf1-0a1b-0410-bd0e-c28be96e8082> | 2007-11-13 23:53:37 +0000 |
|---|---|---|
| committer | alex <alex@97f52cf1-0a1b-0410-bd0e-c28be96e8082> | 2007-11-13 23:53:37 +0000 |
| commit | cd07fb09470d2ec5e286ef988db5500c5a3c522e (patch) | |
| tree | c894c54229c71157e518773f38c698e0464633aa /src/libs/zbxsysinfo/common | |
| parent | 3c4d85925af84b10a9cdb70b91589c70fdd97519 (diff) | |
| download | zabbix-cd07fb09470d2ec5e286ef988db5500c5a3c522e.tar.gz zabbix-cd07fb09470d2ec5e286ef988db5500c5a3c522e.tar.xz zabbix-cd07fb09470d2ec5e286ef988db5500c5a3c522e.zip | |
- [ZBX-154] fixed processing of comma in zbx.fs.size[] (Alexei)
[svn merge -r5018:5020 svn://svn.zabbix.com/branches/1.4]
git-svn-id: svn://svn.zabbix.com/trunk@5021 97f52cf1-0a1b-0410-bd0e-c28be96e8082
Diffstat (limited to 'src/libs/zbxsysinfo/common')
| -rw-r--r-- | src/libs/zbxsysinfo/common/file.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libs/zbxsysinfo/common/file.c b/src/libs/zbxsysinfo/common/file.c index 56e050a5..657ad9ad 100644 --- a/src/libs/zbxsysinfo/common/file.c +++ b/src/libs/zbxsysinfo/common/file.c @@ -42,7 +42,7 @@ int VFS_FILE_SIZE(const char *cmd, const char *param, unsigned flags, AGENT_RESU { return SYSINFO_RET_FAIL; } - + if(stat(filename,&buf) == 0) { SET_UI64_RESULT(result, buf.st_size); |
