From 5e6f616e250c394da78ef9d62edd6b220d7449fd Mon Sep 17 00:00:00 2001 From: "Victor Grishchenko (Debian)" Date: Fri, 9 Apr 2010 13:00:57 +0200 Subject: [PATCH] style --- sendrecv.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sendrecv.cpp b/sendrecv.cpp index 3ff3d63..a96cdaa 100644 --- a/sendrecv.cpp +++ b/sendrecv.cpp @@ -486,7 +486,7 @@ void Channel::RecvDatagram (SOCKET socket) { uint32_t mych = data.Pull32(); Sha1Hash hash; Channel* channel = NULL; - if (!mych) { // handshake initiated + if (mych==0) { // handshake initiated if (data.size()<1+4+1+4+Sha1Hash::SIZE) return_log ("%s #0 incorrect size %i initial handshake packet %s\n", tintstr(),data.size(),addr.str()); -- 2.20.1