X-Git-Url: https://git.llucax.com/z.facultad/75.42/plaqui.git/blobdiff_plain/d61490999af17b602d7208ada92840cddc4eff6a..ea3d0f30b8e44952b1b9ac3e2f5b2a08cd65ca48:/Server/src/httpmessage.cpp?ds=sidebyside 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