summaryrefslogtreecommitdiff
path: root/src/logic/slbt_exec_link.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/logic/slbt_exec_link.c')
-rw-r--r--src/logic/slbt_exec_link.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/logic/slbt_exec_link.c b/src/logic/slbt_exec_link.c
index fc6eab9..6f1e4a1 100644
--- a/src/logic/slbt_exec_link.c
+++ b/src/logic/slbt_exec_link.c
@@ -324,7 +324,8 @@ static int slbt_exec_link_adjust_argument_vector(
while (fscanf(fdeps,"%s\n",darg) == 1) {
*aarg++ = darg;
- darg += strlen(darg) + sizeof('\0');
+ darg += strlen(darg);
+ darg++;
}
if (ferror(fdeps)) {