[xiph-cvs] cvs commit: libshout/src shout.c

Michael Smith msmith at xiph.org
Thu Oct 3 16:48:45 PDT 2002



msmith      02/10/03 19:48:45

  Modified:    src      shout.c
  Log:
  shout_open_(vorbis|mp3) wasn't being called on an http login.

Revision  Changes    Path
1.11      +2 -1      libshout/src/shout.c

Index: shout.c
===================================================================
RCS file: /usr/local/cvsroot/libshout/src/shout.c,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -r1.10 -r1.11
--- shout.c	3 Oct 2002 13:53:25 -0000	1.10
+++ shout.c	3 Oct 2002 23:48:45 -0000	1.11
@@ -77,7 +77,8 @@
     }
 
     if (self->protocol == SHOUT_PROTOCOL_HTTP) {
-        return login_http_basic(self);
+        if ((self->error = login_http_basic(self)) != SHOUTERR_SUCCESS)
+            return self->error;
     }
     else if (self->protocol == SHOUT_PROTOCOL_ICE) {
                 if ((self->error = login_ice(self)) != SHOUTERR_SUCCESS) {

<p><p>--- >8 ----
List archives:  http://www.xiph.org/archives/
Ogg project homepage: http://www.xiph.org/ogg/
To unsubscribe from this list, send a message to 'cvs-request at xiph.org'
containing only the word 'unsubscribe' in the body.  No subject is needed.
Unsubscribe messages sent to the list will be ignored/filtered.



More information about the commits mailing list