From 616c3e41b03f39799abe0c9e27922a196fadf70d Mon Sep 17 00:00:00 2001 From: thlo Date: Sun, 25 Aug 2013 00:30:10 +0200 Subject: Fix file open error. --- responsefile.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'responsefile.c') 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; -- cgit v1.2.3