Commit 103dd3f
string: fix strtok
After a call to `strtok`, the internal state is left to \0; this leads
to returning NULL on the next call regardless of the string.
Signed-off-by: Daniele Ahmed <ahmeddan amazon c;0m >1 parent ae07d46 commit 103dd3f
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
292 | 292 | | |
293 | 293 | | |
294 | 294 | | |
295 | | - | |
| 295 | + | |
296 | 296 | | |
297 | 297 | | |
298 | 298 | | |
| |||
0 commit comments