summaryrefslogtreecommitdiff
path: root/tools/http.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/http.c')
-rw-r--r--tools/http.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/tools/http.c b/tools/http.c
index cc3d17c6..6ea9c837 100644
--- a/tools/http.c
+++ b/tools/http.c
@@ -4,7 +4,7 @@
* See the main source file 'xineliboutput.c' for copyright information and
* how to reach the author.
*
- * $Id: http.c,v 1.1 2007-01-01 00:07:55 phintuka Exp $
+ * $Id: http.c,v 1.2 2007-01-07 05:25:03 phintuka Exp $
*
*/
@@ -136,8 +136,6 @@ static const char *mimetype(const char *ext)
// cHttpStreamer
//
-#include "backgroundwriter.h"
-
cList<cHttpStreamer> cHttpStreamer::m_Streamers;
void cHttpStreamer::CloseAll(bool OnlyFinished)
@@ -176,7 +174,6 @@ cHttpStreamer::cHttpStreamer(int fd_http, const char *filename, const char *Rang
CloseAll(true);
- m_Writer = new cBackgroundWriter(fd_http, KILOBYTE(128), true);
m_Streamers.Add(this);
if(m_Streamers.Count() > 5) {
@@ -197,8 +194,6 @@ cHttpStreamer::cHttpStreamer(int fd_http, const char *filename, const char *Rang
cHttpStreamer::~cHttpStreamer()
{
Cancel(3);
- if(m_Writer)
- delete m_Writer;
if(m_ConnState)
delete m_ConnState;
if(m_fdf >= 0)