Skip to content
Snippets Groups Projects
Commit efa84bee authored by Eric Vidal's avatar Eric Vidal :speech_balloon:
Browse files

fix copy of string to parse

parent 86bb6079
No related branches found
No related tags found
No related merge requests found
......@@ -356,7 +356,7 @@ int main (int argc, char const *const *argv, char const *const *envp)
unexport = 0 ;
sa.len = 0 ;
if (!auto_stra(&sa, tmp))
if (!stralloc_copyb(&sa, tmp, tmplen))
log_die_nomem("stralloc") ;
if (!environ_get_key_nclean(&sa, &pos))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment