Commit 8d49745c authored by Lennart Poettering's avatar Lennart Poettering
Browse files

strv: make sure empty string lists result in a valid empty string in strv_join()

parent 100a76ee
......@@ -281,6 +281,8 @@ char *strv_join(char **l, const char *separator) {
e = stpcpy(e, *s);
*e = 0;
return r;
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment