modified itoa and its headers
This commit is contained in:
@@ -128,9 +128,10 @@ void Webserv::_get_ressource(Client *client)
|
||||
client->response.append("Content-Type: text/html; charset=UTF-8\r\n");
|
||||
|
||||
client->response.append("Content-Length: ");
|
||||
tmp = ::ft_itoa(ifd.gcount());
|
||||
// tmp = ::ft_itoa(ifd.gcount());
|
||||
tmp = ::itoa(ifd.gcount());
|
||||
client->response.append(tmp);
|
||||
delete tmp;
|
||||
// delete tmp;
|
||||
client->response.append("\r\n");
|
||||
|
||||
// Body
|
||||
|
||||
Reference in New Issue
Block a user