summaryrefslogtreecommitdiff
path: root/httptnt
diff options
context:
space:
mode:
authormethodus <methodus@web.de>2012-11-06 02:59:37 +0100
committermethodus <methodus@web.de>2012-11-06 02:59:37 +0100
commitb9a98ecb39c7c39380d34b43fd3bb1192fefb667 (patch)
tree370125a5f7ef9b3fee685de9c28eef02b5bd2e23 /httptnt
parenta2ed1e7f2d2f9275079109b36da7dcbd3f562a84 (diff)
downloadvdr-plugin-upnp-b9a98ecb39c7c39380d34b43fd3bb1192fefb667.tar.gz
vdr-plugin-upnp-b9a98ecb39c7c39380d34b43fd3bb1192fefb667.tar.bz2
Changed ScanUri function a little bit to avoid segfaults.
Diffstat (limited to 'httptnt')
-rw-r--r--httptnt/resourceStreamer.ecpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/httptnt/resourceStreamer.ecpp b/httptnt/resourceStreamer.ecpp
index 1854916..ef9a011 100644
--- a/httptnt/resourceStreamer.ecpp
+++ b/httptnt/resourceStreamer.ecpp
@@ -105,10 +105,10 @@ using namespace upnp;
while ((bytesRead = streamer->Read(buffer, KB(16))) > 0 && length) {
reply.out().write(buffer, bytesRead);
length -= bytesRead;
- if (!reply.out()) {
- code = HTTP_GONE;
- break;
- }
+// if (!reply.out()) {
+// code = HTTP_GONE;
+// break;
+// }
}
}