Browse Source

compiling with C++11 requires a space between string literals

Grant Limberg 9 years ago
parent
commit
efdbd6326f
1 changed files with 1 additions and 1 deletions
  1. 1 1
      node/NetworkConfigRequestMetaData.hpp

+ 1 - 1
node/NetworkConfigRequestMetaData.hpp

@@ -85,7 +85,7 @@ public:
 		 * these maintains backward compatibility with old controllers. This
 		 * appends a terminating NULL which seperates the old legacy meta-data
 		 * from the new packed binary format that we send after. */
-		b.appendCString("majv="ZEROTIER_ONE_VERSION_MAJOR_S_HEX"\nminv="ZEROTIER_ONE_VERSION_MINOR_S_HEX"\nrevv="ZEROTIER_ONE_VERSION_REVISION_S_HEX"\n");
+		b.appendCString("majv=" ZEROTIER_ONE_VERSION_MAJOR_S_HEX "\nminv=" ZEROTIER_ONE_VERSION_MINOR_S_HEX "\nrevv=" ZEROTIER_ONE_VERSION_REVISION_S_HEX "\n");
 
 		b.append((uint16_t)1); // serialization version