diff options
author | Pavlo Yatsukhnenko <yatsukhnenko@gmail.com> | 2022-06-28 09:56:30 +0300 |
---|---|---|
committer | Pavlo Yatsukhnenko <yatsukhnenko@gmail.com> | 2022-06-28 09:56:30 +0300 |
commit | 1fb2935b1ec6c1bcc1692cd4bdf71be6315ae977 (patch) | |
tree | 0a811dc344a9c5f8eea735eb0606c42cc29a63be | |
parent | aaa4c91a7640d2fc0f3fea203dcc64d42a17b2cf (diff) |
Replace strtok_r with php_strtok_r #2
-rw-r--r-- | library.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1223,12 +1223,12 @@ redis_parse_client_list_response(char *response, zval *z_ret) } else { add_next_index_string(&z_sub, p2); } - } while ((p2 = strtok_r(NULL, " ", &s2)) != NULL); + } while ((p2 = php_strtok_r(NULL, " ", &s2)) != NULL); } else { ZVAL_FALSE(&z_sub); } add_next_index_zval(z_ret, &z_sub); - } while ((p1 = strtok_r(NULL, _NL, &s1)) != NULL); + } while ((p1 = php_strtok_r(NULL, _NL, &s1)) != NULL); } else { ZVAL_FALSE(z_ret); } |