diff options
Diffstat (limited to 'win32')
-rw-r--r-- | win32/registry.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/win32/registry.c b/win32/registry.c index 4f74374e8f..f29de501cf 100644 --- a/win32/registry.c +++ b/win32/registry.c @@ -49,7 +49,7 @@ void UpdateIniFromRegistry(char *path) } - path = p = strtok_r(path, "\\/", &strtok_buf); + path = p = php_strtok_r(path, "\\/", &strtok_buf); while (p) { HKEY hKey; @@ -73,7 +73,7 @@ void UpdateIniFromRegistry(char *path) } RegCloseKey(hKey); - p = strtok_r(NULL, "\\/", &strtok_buf); + p = php_strtok_r(NULL, "\\/", &strtok_buf); } RegCloseKey(MainKey); efree(orig_path); |