X-Git-Url: https://pd.if.org/git/?a=blobdiff_plain;f=functions%2Fstring%2Fstrtok.c;fp=functions%2Fstring%2Fstrtok.c;h=b922085ce38ac19ed423bfc29d97ce95d636e3eb;hb=23427de1907e39aac961f4dfd90dfba0066aae95;hp=691c640cac060bf4cbc16ed79adc660ff21bde2b;hpb=3b26b25223f1a0a50eee46704a8afca04169b0b4;p=pdclib.old diff --git a/functions/string/strtok.c b/functions/string/strtok.c index 691c640..b922085 100644 --- a/functions/string/strtok.c +++ b/functions/string/strtok.c @@ -68,7 +68,8 @@ char * strtok( char * _PDCLIB_restrict s1, const char * _PDCLIB_restrict s2 ) } /* parsed to end of string */ - return ( tmp = NULL ); + tmp = NULL; + return s1; } #endif