From 4ecb9369b56c7aa507c9c0c9fa8381ec6772a0ea Mon Sep 17 00:00:00 2001 From: Adam Ierymenko Date: Mon, 30 Sep 2013 11:05:35 -0400 Subject: Fix for multicast propagation -- supernodes must always keep propagating. Also fix mac-tap build on new version of Xcode CL tools. Must use old llvm-g++ instead of clang for i686 -mkernel. --- node/Utils.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'node/Utils.hpp') diff --git a/node/Utils.hpp b/node/Utils.hpp index 991ae31b..09e81ee6 100644 --- a/node/Utils.hpp +++ b/node/Utils.hpp @@ -572,7 +572,7 @@ public: char *end = dest + len; while ((*dest++ = *src++)) { if (dest == end) { - --dest = (char)0; + *(--dest) = (char)0; return false; } } -- cgit v1.2.3