summaryrefslogtreecommitdiff
path: root/win32/registry.c
diff options
context:
space:
mode:
authorZeev Suraski <zeev@php.net>2001-08-05 01:43:02 +0000
committerZeev Suraski <zeev@php.net>2001-08-05 01:43:02 +0000
commit1159c84ab7849099d4a717cd05c2d920102040ed (patch)
treeed4e48bb27e2ce5de5972fc3a29c1d24c818467a /win32/registry.c
parentfcc035108f7b8d2e169c5a592227b3df84d0573e (diff)
downloadphp-git-1159c84ab7849099d4a717cd05c2d920102040ed.tar.gz
- TSRMLS_FETCH work
- whitespace fixes
Diffstat (limited to 'win32/registry.c')
-rw-r--r--win32/registry.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/win32/registry.c b/win32/registry.c
index 8ae25011b7..e36caa94f7 100644
--- a/win32/registry.c
+++ b/win32/registry.c
@@ -1,7 +1,7 @@
#include "php.h"
#include "php_ini.h"
-void UpdateIniFromRegistry(char *path)
+void UpdateIniFromRegistry(char *path TSRMLS_DC)
{
char *p, *orig_path;
HKEY MainKey;
@@ -11,7 +11,6 @@ void UpdateIniFromRegistry(char *path)
return;
}
-
orig_path = path = estrdup(path);
/* Get rid of C:, if exists */