Skip to content

Commit

Permalink
Fix bug #360
Browse files Browse the repository at this point in the history
  • Loading branch information
philipianpearce committed Mar 13, 2018
1 parent 2749782 commit c4d38ed
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/ConnectionHandler.cpp
Expand Up @@ -1231,6 +1231,7 @@ void ConnectionHandler::doLog(std::string &who, std::string &from,NaughtyFilter
struct timeval *thestart = &cm.thestart;
bool cachehit = false;
int code = (cm.wasrequested ? cm.response_header->returnCode() : 200);
if(isnaughty) code = 403;
std::string mimetype = cm.mimetype;
bool wasinfected = cm.wasinfected;
bool wasscanned = cm.wasscanned;
Expand Down

0 comments on commit c4d38ed

Please sign in to comment.