X-Git-Url: https://git.llucax.com/z.facultad/75.42/plaqui.git/blobdiff_plain/d61490999af17b602d7208ada92840cddc4eff6a..1219cbffa9b305ac8ed53e2bb333443ea3bb1a75:/Server/src/httpmessage.cpp diff --git a/Server/src/httpmessage.cpp b/Server/src/httpmessage.cpp index b9d0d28..cda5064 100644 --- a/Server/src/httpmessage.cpp +++ b/Server/src/httpmessage.cpp @@ -89,14 +89,7 @@ istream& operator>>(istream& is, HTTPMessage& m) { // Agrego fin de string porque el readsome no lo hace. buf2[size] = '\0'; m.set_body(buf2); -#ifdef DEBUG - } else { - // TODO dar error? - cerr << __FILE__ << "(" << __LINE__ << ")" - << ": operator>>() ERROR!!! Caracteres extraidos: " - << n << endl; -#endif // DEBUG - } + } // TODO else dar error? delete []buf2; } // Después de una línea vacía, haya obtenido el body o no, sale del