From aac6dde93a74288e2e7bb0826c3321f1666646e5 Mon Sep 17 00:00:00 2001 From: phintuka Date: Thu, 21 Jun 2007 09:12:52 +0000 Subject: Use the unescaped uri ... --- tools/http.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'tools') diff --git a/tools/http.c b/tools/http.c index 8b3e2004..4a529550 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.5 2007-06-21 09:07:00 phintuka Exp $ + * $Id: http.c,v 1.6 2007-06-21 09:12:52 phintuka Exp $ * */ @@ -133,7 +133,7 @@ static const char *mimetype(const char *ext) return NULL; } -char *unescape_uri(const char *uri) +static char *unescape_uri(const char *uri) { char *d = strdup(uri), *s = d, *result = d; while(*s) { @@ -185,7 +185,7 @@ cHttpStreamer::cHttpStreamer(int fd_http, const char *filename, m_fds.set_cork(true); m_fdf = -1; - m_Filename = filename; + //m_Filename = filename; m_FileSize = -1; m_Start = 0; m_End = -1; -- cgit v1.2.3