Skip to content

Commit

Permalink
fixup 3
Browse files Browse the repository at this point in the history
  • Loading branch information
vszakats committed Apr 25, 2024
1 parent 9128169 commit 5708203
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/var.c
Original file line number Diff line number Diff line change
Expand Up @@ -279,7 +279,7 @@ ParameterError varexpand(struct GlobalConfig *global,
warnf(global, "bad variable name: %s", name);
/* insert the text as-is since this is not an env variable */
result = curlx_dyn_addn(out, envp - prefix,
(size_t)(clp - envp + prefix + 2));
(size_t)(clp - envp) + prefix + 2);
if(result)
return PARAM_NO_MEM;
}
Expand Down

0 comments on commit 5708203

Please sign in to comment.