diff --git a/cpp/._rvmain.cpp.swp b/cpp/._rvmain.cpp.swp new file mode 100644 index 0000000..788113a Binary files /dev/null and b/cpp/._rvmain.cpp.swp differ diff --git a/cpp/_rvmain.cpp b/cpp/_rvmain.cpp index 29b8892..6f0d40f 100644 --- a/cpp/_rvmain.cpp +++ b/cpp/_rvmain.cpp @@ -102,7 +102,7 @@ int alg(char *ptr) { p[pos].ptr = token; p[pos].len = strlen(token); ++pos; - token = simple_strtok((char *)NULL, delims); + token = simple_strtok((char *)NULL, delims); // Set ptr to NULL after the first call to continue tokenizing the same string } return pos;