From 5b97bb247ed16cd3466b55db10057c722e67e726 Mon Sep 17 00:00:00 2001 From: Adam Ierymenko Date: Thu, 6 Feb 2014 23:12:12 -0800 Subject: More Windows service work... it builds! Now to do a new installer and test. Also fix a Windows compile warning in Switch.cpp. --- node/Switch.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'node') diff --git a/node/Switch.cpp b/node/Switch.cpp index a759a01b..e6a8e6fd 100644 --- a/node/Switch.cpp +++ b/node/Switch.cpp @@ -218,7 +218,7 @@ bool Switch::sendHELLO(const SharedPtr &dest,Demarc::Port localPort,const outp.append(now); _r->identity.serialize(outp,false); outp.armor(dest->key(),false); - return _r->demarc->send(localPort,remoteAddr,outp.data(),outp.size(),-1); + return (_r->demarc->send(localPort,remoteAddr,outp.data(),outp.size(),-1) != Demarc::NULL_PORT); } bool Switch::unite(const Address &p1,const Address &p2,bool force) -- cgit v1.2.3