~ubuntu-branches/ubuntu/lucid/mpg123/lucid

« back to all changes in this revision

Viewing changes to src/httpget.c

Tags: upstream-0.66
ImportĀ upstreamĀ versionĀ 0.66

Show diffs side-by-side

added added

removed removed

Lines of Context:
2
2
        httpget.c: http communication
3
3
 
4
4
        copyright ?-2006 by the mpg123 project - free software under the terms of the LGPL 2.1
5
 
        see COPYING and AUTHORS files in distribution or http://mpg123.de
 
5
        see COPYING and AUTHORS files in distribution or http://mpg123.org
6
6
        initially written Oliver Fromme
7
7
        old timestamp: Wed Apr  9 20:57:47 MET DST 1997
8
8
 
684
684
                                /* watch out for icy-name */
685
685
                                else if((tmp = get_header_val("icy-name", response, &len)))
686
686
                                {
687
 
                                        if(set_stringbuf(&icy.name, tmp)) debug1("got icy-name %s", icy.name.p)
688
 
                                        else error1("unable to set icy name to %s!", tmp)
 
687
                                        if(set_stringbuf(&icy.name, tmp)) debug1("got icy-name %s", icy.name.p);
 
688
                                        else error1("unable to set icy name to %s!", tmp);
689
689
                                }
690
690
                                /* watch out for icy-url */
691
691
                                else if((tmp = get_header_val("icy-url", response, &len)))
692
692
                                {
693
 
                                        if(set_stringbuf(&icy.url, tmp)) debug1("got icy-url %s", icy.name.p)
694
 
                                        else error1("unable to set icy url to %s!", tmp)
 
693
                                        if(set_stringbuf(&icy.url, tmp)) debug1("got icy-url %s", icy.name.p);
 
694
                                        else error1("unable to set icy url to %s!", tmp);
695
695
                                }
696
696
                                /* watch out for icy-metaint */
697
697
                                else if((tmp = get_header_val("icy-metaint", response, &len)))