mirror of
https://github.com/SerenityOS/serenity
synced 2026-05-11 17:37:00 +02:00
When we hit the last token, make the saved pointer point to the null terminator instead of to the next token. This ensures that the next call to strtok_r() returns null as expected. Found by running GCC in UE. :^)
11 KiB
11 KiB