Add cflags to makefile, fix cflags

This commit is contained in:
Pablu23
2024-07-13 18:19:07 +02:00
parent f12361567c
commit 0a289b99b5
3 changed files with 5 additions and 4 deletions

View File

@@ -42,7 +42,7 @@ void Response::Send(int clientSocket) {
for (const auto &[key, value] : m_headers) {
ss << key << ": " << value << "\n";
}
if (m_payload.size() >= 0) {
if (m_payload.size() > 0) {
ss << "\n";
for (auto &byte : m_payload) {
char c = static_cast<char>(byte);