Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/phpredis/phpredis.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPavlo Yatsukhnenko <yatsukhnenko@gmail.com>2022-06-28 09:56:30 +0300
committerPavlo Yatsukhnenko <yatsukhnenko@gmail.com>2022-06-28 09:56:30 +0300
commit1fb2935b1ec6c1bcc1692cd4bdf71be6315ae977 (patch)
tree0a811dc344a9c5f8eea735eb0606c42cc29a63be
parentaaa4c91a7640d2fc0f3fea203dcc64d42a17b2cf (diff)
Replace strtok_r with php_strtok_r #2
-rw-r--r--library.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/library.c b/library.c
index 9c51680c..f23c4948 100644
--- a/library.c
+++ b/library.c
@@ -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);
}