Commit 3e5a4454 authored by Avuton Olrich's avatar Avuton Olrich

ls: Print output of supported uri to fp rather than stdout.

Since there are no other callers than stdout, this wouldn't be a problem, but since there maybe in the future go ahead and fix it.
parent 3b76ca71
...@@ -57,7 +57,7 @@ void print_supported_uri_schemes_to_fp(FILE *fp) ...@@ -57,7 +57,7 @@ void print_supported_uri_schemes_to_fp(FILE *fp)
fprintf(fp, "%s ", *prefixes); fprintf(fp, "%s ", *prefixes);
prefixes++; prefixes++;
} }
puts("\n"); fprintf(fp,"\n");
} }
void print_supported_uri_schemes(struct client *client) void print_supported_uri_schemes(struct client *client)
......
Markdown is supported
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