From dadd4609722ec5316581f26257c2cf914ec203c1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Friedrich=20Sch=C3=B6ller?= Date: Fri, 24 Jul 2009 18:28:09 +0200 Subject: [PATCH] minor debug output fix --- client.cpp | 2 +- server.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/client.cpp b/client.cpp index 8535803..67bdb2c 100644 --- a/client.cpp +++ b/client.cpp @@ -151,7 +151,7 @@ bool Client::handleEchoData(const TunnelHeader &header, int dataLength, uint32_t break; } - syslog(LOG_DEBUG, "invalid packet type: %d, state:\n", header.type, state); + syslog(LOG_DEBUG, "invalid packet type: %d, state: %d", header.type, state); return true; } diff --git a/server.cpp b/server.cpp index 4bc9877..bdc5c72 100644 --- a/server.cpp +++ b/server.cpp @@ -198,7 +198,7 @@ bool Server::handleEchoData(const TunnelHeader &header, int dataLength, uint32_t return true; } - syslog(LOG_DEBUG, "invalid packet from: %s, type: %d, state:\n", Utility::formatIp(realIp).c_str(), header.type, client->state); + syslog(LOG_DEBUG, "invalid packet from: %s, type: %d, state: %d", Utility::formatIp(realIp).c_str(), header.type, client->state); return true; }