escape: Make quote_command_line() argument const

This commit is contained in:
DaanDeMeyer
2025-07-10 16:18:10 +02:00
committed by Daan De Meyer
parent 8ba6c2b7f5
commit 6ed684db41
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -598,7 +598,7 @@ char* shell_maybe_quote(const char *s, ShellEscapeFlags flags) {
return str_realloc(buf);
}
char* quote_command_line(char **argv, ShellEscapeFlags flags) {
char* quote_command_line(char * const *argv, ShellEscapeFlags flags) {
_cleanup_free_ char *result = NULL;
assert(argv);