summaryrefslogtreecommitdiff
path: root/src/helper
diff options
context:
space:
mode:
Diffstat (limited to 'src/helper')
-rw-r--r--src/helper/ioutil.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/helper/ioutil.c b/src/helper/ioutil.c
index 6be3e6cd..77e5e356 100644
--- a/src/helper/ioutil.c
+++ b/src/helper/ioutil.c
@@ -225,7 +225,7 @@ int handle_append_command(struct command_context_s *cmd_ctx, char *cmd,
for (i = 1; i < argc; i++)
{
- if (fwrite(args[i], strlen(args[i]), 1, config_file)!=strlen(args[i]))
+ if (fwrite(args[i], 1, strlen(args[i]), config_file)!=strlen(args[i]))
break;
if (i != argc - 1)
{