]> git.llucax.com Git - z.facultad/75.42/plaqui.git/commitdiff
Se corrige un bug.
authorLeandro Lucarella <llucax@gmail.com>
Wed, 19 Nov 2003 23:10:40 +0000 (23:10 +0000)
committerLeandro Lucarella <llucax@gmail.com>
Wed, 19 Nov 2003 23:10:40 +0000 (23:10 +0000)
Server/include/plaqui/server/command.h
Server/src/command.cpp

index d27fbe2666a6cace768bf8458656eddde66c8049..00745573be6309ea6102143d6b495af1fbf6eb64 100644 (file)
@@ -129,7 +129,7 @@ namespace Server {
                         * Obtiene el comando desde un pedido HTTP completo.
                         */
                        friend std::istream& operator>>(std::istream& is,
-                                       Command& command) throw(HTTPError, sockerr);
+                                       Command& command) throw(HTTPError, sockerr, ios::failure);
 
                        /**
                         * Convierte el comando a un pedido HTTP completo.
index 517d3527582461d1b5e39045da708a46dc6b6e5a..5aa47001ab0b2ec6c5b6009d346d6afc4d36dab2 100644 (file)
@@ -112,7 +112,8 @@ void Command::add_arg(const unsigned& arg) {
        build();
 }
 
-istream& operator>>(istream& is, Command& command) throw(HTTPError, sockerr) {
+istream& operator>>(istream& is, Command& command)
+               throw(HTTPError, sockerr, ios::failure) {
 #ifdef DEBUG
        cerr << __FILE__ << "(" << __LINE__ << ")"
                << ": operator>>()" << endl;