Re: [Musicpd-dev-team] [git pull] Print supported protocols on --version

2009-03-03 Thread Max Kellermann
On 2009/03/03 17:07, Avuton Olrich avu...@gmail.com wrote:
 Hi Max,
 
 This patch simply prints the available protocols when --version is
 executed.

Merged.

 + fprintf(fp,file:// , *prefixes);

Fixed this one.

--
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
Musicpd-dev-team@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/musicpd-dev-team


Re: [Musicpd-dev-team] [git pull] Print supported protocols on --version

2009-03-03 Thread Avuton Olrich
On Tue, Mar 3, 2009 at 12:25 PM, Max Kellermann m...@duempel.org wrote:
 On 2009/03/03 17:07, Avuton Olrich avu...@gmail.com 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
Musicpd-dev-team@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/musicpd-dev-team


Re: [Musicpd-dev-team] [git pull] Print supported protocols on --version

2009-03-03 Thread Max Kellermann
On 2009/03/03 22:15, Avuton Olrich avu...@gmail.com wrote:
 *Sigh*, only looked at that forever, though your patch made me realize
 I puts later on, please pull again for that fix:

That happens to me all the time ;-)

Merged.

--
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
Musicpd-dev-team@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/musicpd-dev-team