[xiph-cvs] cvs commit: ices/src stream.c

Michael Smith msmith at xiph.org
Sun Sep 23 20:53:02 PDT 2001



msmith      01/09/23 20:53:02

  Modified:    src      stream.c
  Log:
  Fix for reconnecting indefinately, don't know how that got to be how it was.

Revision  Changes    Path
1.3       +3 -2      ices/src/stream.c

Index: stream.c
===================================================================
RCS file: /usr/local/cvsroot/ices/src/stream.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- stream.c	2001/09/24 03:45:12	1.2
+++ stream.c	2001/09/24 03:53:01	1.3
@@ -149,8 +149,9 @@
                                         input_flush_queue(stream->queue, 1);
                                         thread_mutex_unlock(&ices_config->flush_lock);
                                         
-					while((i < stream->reconnect_attempts 
-							|| i==-1) && !ices_config->shutdown)
+					while((i < stream->reconnect_attempts ||
+							stream->reconnect_attempts==-1) && 
+                            !ices_config->shutdown)
                                         {
                                                 i++;
                                                 LOG_WARN0("Trying reconnect after server socket error");

--- >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