From 1a2bb56c4c44080e941e6a7dc2420a404bceba5b Mon Sep 17 00:00:00 2001 From: Leandro Lucarella Date: Tue, 4 Jul 2006 14:26:36 +0000 Subject: [PATCH] Bugfix (typo). --- practicas/pipi/src/nameserver.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/practicas/pipi/src/nameserver.cpp b/practicas/pipi/src/nameserver.cpp index b7346b7..4d878b1 100644 --- a/practicas/pipi/src/nameserver.cpp +++ b/practicas/pipi/src/nameserver.cpp @@ -431,8 +431,8 @@ void NameServer::send_loop() std::string buf = snd_que.receive(mac); #ifdef DEBUG_RESOLV uint8_t type; - memcpy(&type, s.data(), sizeof(uint8_t)); - std::cout << "NameServer::send_loop() -> envío " + memcpy(&type, buf.data(), sizeof(uint8_t)); + std::cout << "NameServer::send_loop() -> envío "; if (type == RP_REQ_DIRECT || type == RP_REQ_RECURSIVE) std::cout << "request " << ResolvProtoRequest(buf) << "\n"; else -- 2.43.0