diff options
| author | Adam Ierymenko <adam.ierymenko@gmail.com> | 2013-09-30 11:05:35 -0400 |
|---|---|---|
| committer | Adam Ierymenko <adam.ierymenko@gmail.com> | 2013-09-30 11:05:35 -0400 |
| commit | 4ecb9369b56c7aa507c9c0c9fa8381ec6772a0ea (patch) | |
| tree | e3770731f0c6ca9b7e78911bc11df18881fc13f7 /node/Utils.hpp | |
| parent | 141b85873731db10060677e1135b8c04a1dc8613 (diff) | |
| download | infinitytier-4ecb9369b56c7aa507c9c0c9fa8381ec6772a0ea.tar.gz infinitytier-4ecb9369b56c7aa507c9c0c9fa8381ec6772a0ea.zip | |
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.
Diffstat (limited to 'node/Utils.hpp')
| -rw-r--r-- | node/Utils.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
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; } } |
