[xiph-commits] r9641 - icecast/branches/kh/icecast/src

karl at svn.xiph.org karl at svn.xiph.org
Fri Jul 29 04:48:15 PDT 2005


Author: karl
Date: 2005-07-29 04:48:13 -0700 (Fri, 29 Jul 2005)
New Revision: 9641

Modified:
   icecast/branches/kh/icecast/src/source.c
Log:
fix segv case


Modified: icecast/branches/kh/icecast/src/source.c
===================================================================
--- icecast/branches/kh/icecast/src/source.c	2005-07-29 10:28:58 UTC (rev 9640)
+++ icecast/branches/kh/icecast/src/source.c	2005-07-29 11:48:13 UTC (rev 9641)
@@ -356,7 +356,7 @@
             {
                 client_set_queue (client, NULL);
                 client->check_buffer = format_check_file_buffer;
-                if (source->client->con == NULL)
+                if (source->client && source->client->con == NULL)
                     client->intro_offset = -1;
             }
 



More information about the commits mailing list