[xiph-commits] r8212 - icecast/trunk/icecast/src

karl at motherfish-iii.xiph.org karl at motherfish-iii.xiph.org
Wed Nov 17 06:12:39 PST 2004


Author: karl
Date: 2004-11-17 06:12:39 -0800 (Wed, 17 Nov 2004)
New Revision: 8212

Modified:
   icecast/trunk/icecast/src/fserve.c
Log:
pass the fserve_t not the client_t


Modified: icecast/trunk/icecast/src/fserve.c
===================================================================
--- icecast/trunk/icecast/src/fserve.c	2004-11-17 11:38:54 UTC (rev 8211)
+++ icecast/trunk/icecast/src/fserve.c	2004-11-17 14:12:39 UTC (rev 8212)
@@ -460,7 +460,7 @@
                 bytes = sock_write(httpclient->con->sock,
                     "HTTP/1.0 416 Request Range Not Satisfiable\r\n\r\n");
                 if(bytes > 0) httpclient->con->sent_bytes = bytes;
-                fserve_client_destroy(httpclient);
+                fserve_client_destroy(client);
                 return -1;
             }
         }
@@ -471,7 +471,7 @@
             bytes = sock_write(httpclient->con->sock,
                 "HTTP/1.0 416 Request Range Not Satisfiable\r\n\r\n");
             if(bytes > 0) httpclient->con->sent_bytes = bytes;
-            fserve_client_destroy(httpclient);
+            fserve_client_destroy(client);
             return -1;
         }
     }



More information about the commits mailing list