feat: Various improvements

This commit is contained in:
Daniel Hammer
2025-04-16 10:32:11 +02:00
parent 35cf3f7c80
commit fcd81be1c5
14 changed files with 135 additions and 98 deletions
+2 -2
View File
@@ -15,7 +15,7 @@ namespace kcp {
vector<const char*> result;
cstringstream current_stream = cstringstream();
do {
while (true) {
if (*str == delimiter || *str == '\0') {
auto cstr = current_stream.c_str();
auto cstr_len = Lib::strlen(cstr);
@@ -35,7 +35,7 @@ namespace kcp {
current_stream << (char)*str;
str++;
} while (*str != '\0');
};
return result;
}