From fce46168d1ad7118f362e6cfd8ac08302f4d79ad Mon Sep 17 00:00:00 2001 From: Holger Zimmermann Date: Sun, 18 Jun 2000 19:01:54 +0000 Subject: [PATCH] Changed strtok_r to php_strtok_r --- sapi/pi3web/pi3web_sapi.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sapi/pi3web/pi3web_sapi.c b/sapi/pi3web/pi3web_sapi.c index 0c601fafde..7c7bc3d3fe 100644 --- a/sapi/pi3web/pi3web_sapi.c +++ b/sapi/pi3web/pi3web_sapi.c @@ -348,7 +348,7 @@ static void hash_pi3web_variables(ELS_D SLS_DC) return; } } - variable = strtok_r(variable_buf, "\r\n", &strtok_buf); + variable = php_strtok_r(variable_buf, "\r\n", &strtok_buf); while (variable) { char *colon = strchr(variable, ':'); @@ -368,7 +368,7 @@ static void hash_pi3web_variables(ELS_D SLS_DC) zend_hash_add(&EG(symbol_table), variable, strlen(variable)+1, &entry, sizeof(zval *), NULL); *colon = ':'; } - variable = strtok_r(NULL, "\r\n", &strtok_buf); + variable = php_strtok_r(NULL, "\r\n", &strtok_buf); } if (variable_buf!=static_variable_buf) { efree(variable_buf); -- 2.50.1