sq_quote_argv: drop maxlen parameter
[git/git.git] / trace.c
diff --git a/trace.c b/trace.c
index b7530b5..fa9174f 100644 (file)
--- a/trace.c
+++ b/trace.c
@@ -157,7 +157,7 @@ static void trace_argv_vprintf_fl(const char *file, int line,
 
        strbuf_vaddf(&buf, format, ap);
 
-       sq_quote_argv(&buf, argv, 0);
+       sq_quote_argv(&buf, argv);
        print_trace_line(&trace_default_key, &buf);
 }
 
@@ -426,6 +426,6 @@ void trace_command_performance(const char **argv)
                atexit(print_command_performance_atexit);
 
        strbuf_reset(&command_line);
-       sq_quote_argv(&command_line, argv, 0);
+       sq_quote_argv(&command_line, argv);
        command_start_time = getnanotime();
 }