diff options
author | Holger Zimmermann <holger@php.net> | 2000-06-18 19:01:54 +0000 |
---|---|---|
committer | Holger Zimmermann <holger@php.net> | 2000-06-18 19:01:54 +0000 |
commit | fce46168d1ad7118f362e6cfd8ac08302f4d79ad (patch) | |
tree | 9fac4b034f7c4b9377ecdf66f1fd623999c259a8 | |
parent | 98087ab562ce8f72466a342720d9cb621626a1fe (diff) | |
download | php-git-fce46168d1ad7118f362e6cfd8ac08302f4d79ad.tar.gz |
Changed strtok_r to php_strtok_r
-rw-r--r-- | sapi/pi3web/pi3web_sapi.c | 4 |
1 files 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); |