summaryrefslogtreecommitdiff
path: root/httptnt
diff options
context:
space:
mode:
authormethodus <methodus@web.de>2012-10-27 05:50:03 +0200
committermethodus <methodus@web.de>2012-10-27 05:50:03 +0200
commitf998c951d2a67fd6cdff53c0bd3eef90560331e4 (patch)
treef247ea6c7e5db825a7c58de737e17593b524bd91 /httptnt
parent4509269af55543c85653d9fd4da17d54c71deffb (diff)
downloadvdr-plugin-upnp-f998c951d2a67fd6cdff53c0bd3eef90560331e4.tar.gz
vdr-plugin-upnp-f998c951d2a67fd6cdff53c0bd3eef90560331e4.tar.bz2
Fixed file size type in dvbProfiler for recordings.
Diffstat (limited to 'httptnt')
-rw-r--r--httptnt/resourceStreamer.ecpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/httptnt/resourceStreamer.ecpp b/httptnt/resourceStreamer.ecpp
index 9579fe6..ecb3eae 100644
--- a/httptnt/resourceStreamer.ecpp
+++ b/httptnt/resourceStreamer.ecpp
@@ -67,6 +67,8 @@ int doRequest(tnt::HttpReply reply, tnt::HttpRequest request, std::string object
if(to <= 0 || to > contentLength) to = contentLength;
length = to - from;
hasRange = true;
+
+ cerr << from << " - " << to << "/" << contentLength << endl;
std::stringstream contentRangeHeader;
contentRangeHeader << "bytes " << from << "-" << to << "/" << contentLength;