summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorphintuka <phintuka>2009-06-02 08:37:58 +0000
committerphintuka <phintuka>2009-06-02 08:37:58 +0000
commitce69f84c56ce49ba4258f1e78476778f96e02722 (patch)
tree72d4b46a4b2a3ee47f501541bd9319bddf870613
parenta945aeab6ffc0d8ebda85658f06a7cf3f07c1843 (diff)
downloadxineliboutput-ce69f84c56ce49ba4258f1e78476778f96e02722.tar.gz
xineliboutput-ce69f84c56ce49ba4258f1e78476778f96e02722.tar.bz2
Added const
-rw-r--r--tools/http.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/http.c b/tools/http.c
index 4a529550..0e7de26a 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.6 2007-06-21 09:12:52 phintuka Exp $
+ * $Id: http.c,v 1.7 2009-06-02 08:37:58 phintuka Exp $
*
*/
@@ -297,7 +297,7 @@ bool cHttpStreamer::Seek(void)
}
/* content type */
- char *ext = strrchr(m_Filename, '.');
+ const char *ext = strrchr(m_Filename, '.');
if(ext) {
const char *mime = mimetype(ext+1);
if(mime)