modified itoa and its headers

This commit is contained in:
hugogogo
2022-07-31 12:59:27 +02:00
parent 2a69e14db2
commit cbb1d12d54
6 changed files with 26 additions and 60 deletions

View File

@@ -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