From 7828c6c0b187380533043866d4af45232e7140a8 Mon Sep 17 00:00:00 2001 From: Leandro Lucarella Date: Thu, 8 Jun 2006 22:21:53 +0000 Subject: [PATCH] Se omiten algunos mensajes de debug. --- practicas/pipi/src/dev.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/practicas/pipi/src/dev.cpp b/practicas/pipi/src/dev.cpp index 932df00..d9465a6 100644 --- a/practicas/pipi/src/dev.cpp +++ b/practicas/pipi/src/dev.cpp @@ -40,8 +40,8 @@ void Dev::transmit(const std::string& data, const mac_type& mac) memcpy(f->frame, data.c_str(), data.size()); int res = msgsnd(que_id, f, mtu + sizeof(size_t), 0); #ifdef DEBUG - std::cout << "Dev::transmit(msgtype/mac = " << f->mac << ", size = " - << f->size << ")\n"; + //std::cout << "Dev::transmit(msgtype/mac = " << f->mac << ", size = " + // << f->size << ")\n"; #endif free(f); if (res == -1) @@ -62,8 +62,8 @@ std::string Dev::receive() throw (std::runtime_error) std::string s((char*) f->frame, f->size); free(f); #ifdef DEBUG - std::cout << "Dev::receive(msgtype/mac = " << mac << ", size = " - << s.size() << ")\n"; + //std::cout << "Dev::receive(msgtype/mac = " << mac << ", size = " + // << s.size() << ")\n"; #endif return s; } -- 2.43.0