Removed useless file close statement

This commit is contained in:
anschrammh 2019-10-16 19:21:53 +02:00
parent 7d60a8d9d0
commit d41cebfee6

View File

@ -354,8 +354,6 @@ class WEBServer : public TCPServer<T>
//If we couldn't open the file
if(!pageToSend)
{
pageToSend.close();
char *response(NULL);
response = (char *) malloc(sizeof(char) * (strlen_P((PGM_P)F("Resource : not found on this server")) + strlen(client->_httpRequestData.httpResource) + 1));