string-util: imply NULL termination of strextend() argument list
The trailing NULL in the argument list is now implied (similar to what we already have in place in strjoin()).
This commit is contained in:
@@ -3387,7 +3387,7 @@ static int run(int argc, char *argv[]) {
|
||||
if (!j)
|
||||
return log_oom();
|
||||
|
||||
if (!strextend(&t, "\n\t", j, NULL))
|
||||
if (!strextend(&t, "\n\t", j))
|
||||
return log_oom();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user