summaryrefslogtreecommitdiffstats
path: root/src/libs/zbxsysinfo/common/file.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/libs/zbxsysinfo/common/file.c')
-rw-r--r--src/libs/zbxsysinfo/common/file.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/libs/zbxsysinfo/common/file.c b/src/libs/zbxsysinfo/common/file.c
index d86ae2b9..8b627dcc 100644
--- a/src/libs/zbxsysinfo/common/file.c
+++ b/src/libs/zbxsysinfo/common/file.c
@@ -30,7 +30,7 @@ int VFS_FILE_SIZE(const char *cmd, const char *param, unsigned flags, AGENT_RESU
assert(result);
- clean_result(result);
+ init_result(result);
if(num_param(param) > 1)
{
@@ -58,7 +58,7 @@ int VFS_FILE_ATIME(const char *cmd, const char *param, unsigned flags, AGENT_RES
assert(result);
- clean_result(result);
+ init_result(result);
if(num_param(param) > 1)
{
@@ -86,7 +86,7 @@ int VFS_FILE_CTIME(const char *cmd, const char *param, unsigned flags, AGENT_RES
assert(result);
- clean_result(result);
+ init_result(result);
if(num_param(param) > 1)
{
@@ -114,7 +114,7 @@ int VFS_FILE_MTIME(const char *cmd, const char *param, unsigned flags, AGENT_RES
assert(result);
- clean_result(result);
+ init_result(result);
if(num_param(param) > 1)
{
@@ -142,7 +142,7 @@ int VFS_FILE_EXISTS(const char *cmd, const char *param, unsigned flags, AGENT_RE
assert(result);
- clean_result(result);
+ init_result(result);
if(num_param(param) > 1)
{
@@ -182,7 +182,7 @@ int VFS_FILE_REGEXP(const char *cmd, const char *param, unsigned flags, AGENT_RE
assert(result);
- clean_result(result);
+ init_result(result);
memset(tmp,0,MAX_STRING_LEN);
@@ -270,7 +270,7 @@ int VFS_FILE_REGMATCH(const char *cmd, const char *param, unsigned flags, AGENT_
assert(result);
- clean_result(result);
+ init_result(result);
if(get_param(param, 1, filename, MAX_STRING_LEN) != 0)
{