diff options
author | thlo <smarttv640@gmail.com> | 2013-08-25 00:30:10 +0200 |
---|---|---|
committer | thlo <smarttv640@gmail.com> | 2013-08-25 00:30:10 +0200 |
commit | 685ba9d97e9ca4ef8f197c62e07a85cb0901be7a (patch) | |
tree | b7e603fcb2b969f806ba81f9a641cbef5604c249 | |
parent | b6ff05c28bc1faa0d38b508d0cd1bab78a2cdc95 (diff) | |
download | vdr-plugin-smarttvweb-685ba9d97e9ca4ef8f197c62e07a85cb0901be7a.tar.gz vdr-plugin-smarttvweb-685ba9d97e9ca4ef8f197c62e07a85cb0901be7a.tar.bz2 |
Fix file open error.
-rw-r--r-- | responsefile.c | 2 |
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; |