summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/irmd/configfile.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/irmd/configfile.c b/src/irmd/configfile.c
index 1537a1cc..688c4ade 100644
--- a/src/irmd/configfile.c
+++ b/src/irmd/configfile.c
@@ -598,7 +598,7 @@ static int args_to_argv(const char * prog,
if ((*argv)[0] == NULL)
goto fail_malloc2;
- argc++;
+ argc = 1;
if (str == NULL)
goto finish;