summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorthlo <smarttv640@gmail.com>2013-08-25 00:30:10 +0200
committerthlo <smarttv640@gmail.com>2013-08-25 00:30:10 +0200
commit616c3e41b03f39799abe0c9e27922a196fadf70d (patch)
treeb7e603fcb2b969f806ba81f9a641cbef5604c249
parentde1e9d660b6af56e15b1d1e681ed2d2b091a396d (diff)
downloadvdr-plugin-smarttvweb-616c3e41b03f39799abe0c9e27922a196fadf70d.tar.gz
vdr-plugin-smarttvweb-616c3e41b03f39799abe0c9e27922a196fadf70d.tar.bz2
Fix file open error.
-rw-r--r--responsefile.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/responsefile.c b/responsefile.c
index 938d8ef..4fed5e4 100644
--- a/responsefile.c
+++ b/responsefile.c
@@ -97,8 +97,6 @@ int cResponseFile::sendFile() {
return OKAY;
}
- mFile = fopen((mRequest->mPath).c_str(), "r");
-
if (!mFile) {
sendError(403, "Forbidden", NULL, "001 Access denied.");
return OKAY;