summaryrefslogtreecommitdiff
path: root/server/connectionHTTP.c
diff options
context:
space:
mode:
authorFrank Schmirler <vdr@schmirler.de>2010-12-02 09:51:02 +0100
committerFrank Schmirler <vdr@schmirler.de>2010-12-02 09:51:02 +0100
commite0a00f90aece9cfc54f3d5a1d9098fa29d9dc468 (patch)
treef29304c2b0dcd55f5afdc483666cce5644850016 /server/connectionHTTP.c
parent91c5199ac3d83673338bdb9a75da6e69d2f5958e (diff)
downloadvdr-plugin-streamdev-e0a00f90aece9cfc54f3d5a1d9098fa29d9dc468.tar.gz
vdr-plugin-streamdev-e0a00f90aece9cfc54f3d5a1d9098fa29d9dc468.tar.bz2
Streamdev 0.5.0
Diffstat (limited to 'server/connectionHTTP.c')
-rw-r--r--server/connectionHTTP.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/server/connectionHTTP.c b/server/connectionHTTP.c
index b963d64..028b9ea 100644
--- a/server/connectionHTTP.c
+++ b/server/connectionHTTP.c
@@ -1,5 +1,5 @@
/*
- * $Id: connectionHTTP.c,v 1.17.2.1 2010/06/11 06:06:02 schmirl Exp $
+ * $Id: connectionHTTP.c,v 1.19 2010/07/20 12:26:29 schmirl Exp $
*/
#include <ctype.h>
@@ -336,7 +336,7 @@ bool cConnectionHTTP::ProcessURI(const std::string& PathInfo)
Dprintf("before channelfromstring: type(%s) filespec(%s) fileext(%s)\n", type.c_str(), filespec.c_str(), fileext.c_str());
- if ((m_ChannelList = ChannelListFromString(PathInfo.substr(0, file_pos), filespec.c_str(), fileext.c_str())) != NULL) {
+ if ((m_ChannelList = ChannelListFromString(PathInfo.substr(1, file_pos), filespec.c_str(), fileext.c_str())) != NULL) {
Dprintf("Channel list requested\n");
return true;
} else if ((m_Channel = ChannelFromString(filespec.c_str(), &m_Apid[0], &m_Dpid[0])) != NULL) {