Removed useless file close statement
This commit is contained in:
parent
7d60a8d9d0
commit
d41cebfee6
@ -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));
|
||||
|
Loading…
Reference in New Issue
Block a user