]> granicus.if.org Git - php/commitdiff
Changed strtok_r to php_strtok_r
authorHolger Zimmermann <holger@php.net>
Sun, 18 Jun 2000 19:01:54 +0000 (19:01 +0000)
committerHolger Zimmermann <holger@php.net>
Sun, 18 Jun 2000 19:01:54 +0000 (19:01 +0000)
sapi/pi3web/pi3web_sapi.c

index 0c601fafde2e7fbaea1215d8c2531add90f43bc7..7c7bc3d3fee30bbb48c502bf43f5846822f07e40 100644 (file)
@@ -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);