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

Brendan brendan at xiph.org
Sat Jun 21 13:35:41 PDT 2003



brendan     03/06/21 16:35:40

  Modified:    src      stream.c
  Log:
  Shut down after too many stream errors, instead of trying again for
  the next ten songs (that is, the somewhat ludicrous 100 error limit)

Revision  Changes    Path
1.56      +1 -1      ices/src/stream.c

Index: stream.c
===================================================================
RCS file: /cvs/ice/ices/src/stream.c,v
retrieving revision 1.55
retrieving revision 1.56
diff -u -p -u -r1.55 -r1.56
--- stream.c	20 Jun 2003 03:28:25 -0000	1.55
+++ stream.c	21 Jun 2003 20:35:40 -0000	1.56
@@ -264,7 +264,7 @@ stream_send (ices_config_t* config, inpu
         if (rc < 0) {
           if (stream->errs > 10) {
             ices_log ("Too many stream errors, giving up");
-            goto err;
+	    ices_setup_shutdown ();
           }
           ices_log ("Error during send: %s", ices_log_get_error ());
         } else {

<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