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

Karl Heyes karl at xiph.org
Fri Jun 6 12:43:13 PDT 2003



karl        03/06/06 15:43:12

  Modified:    src      shout.c
  Log:
  double close bug on http connections, causes ices to report bad file
  descriptor when libshout cannot connect to icecast.

Revision  Changes    Path
1.41      +0 -1      libshout/src/shout.c

Index: shout.c
===================================================================
RCS file: /usr/local/cvsroot/libshout/src/shout.c,v
retrieving revision 1.40
retrieving revision 1.41
diff -u -r1.40 -r1.41
--- shout.c	28 May 2003 19:33:35 -0000	1.40
+++ shout.c	6 Jun 2003 19:43:12 -0000	1.41
@@ -103,7 +103,6 @@
 
         if (self->protocol == SHOUT_PROTOCOL_HTTP) {
                 if ((self->error = login_http_basic(self)) != SHOUTERR_SUCCESS) {
-			sock_close(self->socket);
                         return self->error;
                 }
         } else if (self->protocol == SHOUT_PROTOCOL_XAUDIOCAST) {

<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