There was an error while loading. Please reload this page.
1 parent aaa4c91 commit 1fb2935Copy full SHA for 1fb2935
1 file changed
library.c
@@ -1223,12 +1223,12 @@ redis_parse_client_list_response(char *response, zval *z_ret)
1223
} else {
1224
add_next_index_string(&z_sub, p2);
1225
}
1226
- } while ((p2 = strtok_r(NULL, " ", &s2)) != NULL);
+ } while ((p2 = php_strtok_r(NULL, " ", &s2)) != NULL);
1227
1228
ZVAL_FALSE(&z_sub);
1229
1230
add_next_index_zval(z_ret, &z_sub);
1231
- } while ((p1 = strtok_r(NULL, _NL, &s1)) != NULL);
+ } while ((p1 = php_strtok_r(NULL, _NL, &s1)) != NULL);
1232
1233
ZVAL_FALSE(z_ret);
1234
0 commit comments