From: Victor Grishchenko (Debian) Date: Fri, 9 Apr 2010 11:00:57 +0000 (+0200) Subject: style X-Git-Url: http://p2p-next.cs.pub.ro/gitweb/?a=commitdiff_plain;h=5e6f616e250c394da78ef9d62edd6b220d7449fd;p=swift-upb.git style --- 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());