diff --git a/cpp/._rvmain.cpp.swp b/cpp/._rvmain.cpp.swp deleted file mode 100644 index 788113a..0000000 Binary files a/cpp/._rvmain.cpp.swp and /dev/null differ diff --git a/cpp/_rvmain.cpp b/cpp/_rvmain.cpp index 6f0d40f..29b8892 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); // Set ptr to NULL after the first call to continue tokenizing the same string + token = simple_strtok((char *)NULL, delims); } return pos;