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

Karl Heyes karl at xiph.org
Wed Apr 2 16:29:03 PST 2003



karl        03/04/02 19:29:03

  Modified:    src      shout.c
  Log:
  file descriptor 0 is a valid socket

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

Index: shout.c
===================================================================
RCS file: /usr/local/cvsroot/libshout/src/shout.c,v
retrieving revision 1.36
retrieving revision 1.37
diff -u -r1.36 -r1.37
--- shout.c	28 Mar 2003 00:38:28 -0000	1.36
+++ shout.c	3 Apr 2003 00:29:03 -0000	1.37
@@ -803,7 +803,7 @@
         self->error = SHOUTERR_SOCKET;
 
            self->socket = sock_connect(self->host, self->port);
-	if (self->socket <= 0) {
+	if (self->socket < 0) {
                 return self->error = SHOUTERR_NOCONNECT;
         }
 

<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