aboutsummaryrefslogtreecommitdiff
path: root/src/plugins/fs/helper.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/fs/helper.c')
-rw-r--r--src/plugins/fs/helper.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/plugins/fs/helper.c b/src/plugins/fs/helper.c
index 70ff9e19..f4be7bdb 100644
--- a/src/plugins/fs/helper.c
+++ b/src/plugins/fs/helper.c
@@ -41,7 +41,7 @@ int parseTime(const char * t,
41 unsigned int val; 41 unsigned int val;
42 char * tmp; 42 char * tmp;
43 cron_t ret; 43 cron_t ret;
44 44
45 ret = 0; 45 ret = 0;
46 pos = 0; 46 pos = 0;
47 47
@@ -54,7 +54,7 @@ int parseTime(const char * t,
54 pos - start); 54 pos - start);
55 if (1 != sscanf(tmp, 55 if (1 != sscanf(tmp,
56 "%u", 56 "%u",
57 &val) ) 57 &val) )
58 return -1; /* parse error */ 58 return -1; /* parse error */
59 FREE(tmp); 59 FREE(tmp);
60 while ( t[pos] == ' ') 60 while ( t[pos] == ' ')
@@ -84,10 +84,10 @@ int parseTime(const char * t,
84 strlen(_("days")))) 84 strlen(_("days"))))
85 ret += cronDAYS * val; 85 ret += cronDAYS * val;
86 else 86 else
87 return SYSERR; /* parse error */ 87 return SYSERR; /* parse error */
88 while ( t[pos] == ' ') 88 while ( t[pos] == ' ')
89 pos++; 89 pos++;
90 } 90 }
91 *param = ret / cronSECONDS; 91 *param = ret / cronSECONDS;
92 return OK; 92 return OK;
93} 93}