summaryrefslogtreecommitdiff
path: root/ext/w32api/w32api.c
diff options
context:
space:
mode:
authorIlia Alshanetsky <iliaa@php.net>2003-01-19 08:32:26 +0000
committerIlia Alshanetsky <iliaa@php.net>2003-01-19 08:32:26 +0000
commit1fe4990bc083ea9c07184ac70208a3c44a715d12 (patch)
tree8517266ae4432df9329f490bfe1927277161cc3a /ext/w32api/w32api.c
parent2500199ae3079bd984d0f369bf63875ff09e7306 (diff)
downloadphp-git-1fe4990bc083ea9c07184ac70208a3c44a715d12.tar.gz
ZTS fixes.
Diffstat (limited to 'ext/w32api/w32api.c')
-rw-r--r--ext/w32api/w32api.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/w32api/w32api.c b/ext/w32api/w32api.c
index 8e8e5a34b3..7edd607a2e 100644
--- a/ext/w32api/w32api.c
+++ b/ext/w32api/w32api.c
@@ -2178,8 +2178,8 @@ arguments *w32api_parser_make_argument(char *arg_type, char *arg_name, int byref
argument_value->type_name = arg_type;
argument_value->type_id = php_w32api_get_type_id_from_name(arg_type);
- if(argument_value->type_id == W32API_UNKNOWN)
- {
+ if(argument_value->type_id == W32API_UNKNOWN) {
+ TSRMLS_FETCH();
php_error_docref(NULL TSRMLS_CC, E_NOTICE, "Unknown type %s used as arugment type", arg_type);
}