summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorphintuka <phintuka>2007-06-21 09:12:52 +0000
committerphintuka <phintuka>2007-06-21 09:12:52 +0000
commitaac6dde93a74288e2e7bb0826c3321f1666646e5 (patch)
treef6718f19e6cb990e633227891b455453a9cceabe
parent922e3abf148f1e987992abd57270585a9efa00bb (diff)
downloadxineliboutput-aac6dde93a74288e2e7bb0826c3321f1666646e5.tar.gz
xineliboutput-aac6dde93a74288e2e7bb0826c3321f1666646e5.tar.bz2
Use the unescaped uri ...
-rw-r--r--tools/http.c6
1 files changed, 3 insertions, 3 deletions
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;