From 3e5a44546705f149a5ef391e613505413c99d1c1 Mon Sep 17 00:00:00 2001 From: Avuton Olrich Date: Tue, 3 Mar 2009 13:07:34 -0800 Subject: 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. --- src/ls.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/ls.c b/src/ls.c index 92b8a213e..aa587f132 100644 --- a/src/ls.c +++ b/src/ls.c @@ -57,7 +57,7 @@ void print_supported_uri_schemes_to_fp(FILE *fp) fprintf(fp, "%s ", *prefixes); prefixes++; } - puts("\n"); + fprintf(fp,"\n"); } void print_supported_uri_schemes(struct client *client) -- cgit v1.2.3