diff options
author | Jeroen van Wolffelaar <jeroen@php.net> | 2001-09-25 21:58:48 +0000 |
---|---|---|
committer | Jeroen van Wolffelaar <jeroen@php.net> | 2001-09-25 21:58:48 +0000 |
commit | c03328857394bef36ffa9678d33079ad96e4a4e4 (patch) | |
tree | c0fb250db3b1bb996fc305bf56c2b74eb6d00935 /ext/satellite/php_orbit.c | |
parent | 158d34c9a57816326e141e88e1409d9f377dc2ea (diff) | |
download | php-git-c03328857394bef36ffa9678d33079ad96e4a4e4.tar.gz |
Back-substitute for Z_* macro's. If it breaks some extension (the script isn't optimal, it parses for example var->zval.value incorrect) please let me know.
Diffstat (limited to 'ext/satellite/php_orbit.c')
-rw-r--r-- | ext/satellite/php_orbit.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/satellite/php_orbit.c b/ext/satellite/php_orbit.c index 7fa82a6aca..745160abb7 100644 --- a/ext/satellite/php_orbit.c +++ b/ext/satellite/php_orbit.c @@ -147,12 +147,12 @@ PHP_FUNCTION(satellite_load_idl) getParameters(ht, 1, &p_parameter); - if (p_parameter->type != IS_STRING) + if (Z_TYPE_P(p_parameter) != IS_STRING) { RETURN_NULL(); } - RETURN_BOOL(TypeManager_LoadFile(p_parameter->value.str.val)); + RETURN_BOOL(TypeManager_LoadFile(Z_STRVAL_P(p_parameter))); } /* |