Index: src/shared/Communication.cpp |
=================================================================== |
--- a/src/shared/Communication.cpp |
+++ b/src/shared/Communication.cpp |
@@ -29,7 +29,7 @@ |
// TODO: This is some pretty hacky marshalling, replace it with something more robust |
std::string marshalledStrings; |
for (std::vector<std::string>::const_iterator it = strings.begin(); it != strings.end(); it++) |
- marshalledStrings += *it + ';'; |
+ marshalledStrings += *it + '\0'; |
return marshalledStrings; |
} |
@@ -38,7 +38,7 @@ |
std::stringstream stream(message); |
std::vector<std::string> strings; |
std::string string; |
- while (std::getline(stream, string, ';')) |
+ while (std::getline(stream, string, '\0')) |
strings.push_back(string); |
return strings; |
} |