On Tue, Mar 3, 2009 at 12:25 PM, Max Kellermann <[email protected]> wrote:
> On 2009/03/03 17:07, Avuton Olrich <[email protected]> wrote:
>> Hi Max,
>>
>> This patch simply prints the available protocols when --version is
>> executed.
>
> Merged.
>
>> + fprintf(fp,"file:// ", *prefixes);
>
> Fixed this one.
*Sigh*, only looked at that forever, though your patch made me realize
I puts later on, please pull again for that fix:
Avuton Olrich (1):
ls: Print output of supported uri to fp rather than stdout.
src/ls.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/ls.c b/src/ls.c
index 92b8a21..aa587f1 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)
--
avuton
--
| (\_/) This is Bunny. Copy and paste Bunny
| (='.'=) into your signature to help him gain
| (")_(") world domination.
------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
Musicpd-dev-team mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/musicpd-dev-team