diff options
author | Zeev Suraski <zeev@php.net> | 2001-07-30 08:24:42 +0000 |
---|---|---|
committer | Zeev Suraski <zeev@php.net> | 2001-07-30 08:24:42 +0000 |
commit | c43806f4152c3ff908c7ead039daf5e163700f0e (patch) | |
tree | 8e6eb9e2aef084f04a7bfeb7269dd4d5186ac0c4 /ext/crack | |
parent | 4187439cfffdbb2573453ea41a3c344632405f47 (diff) | |
download | php-git-c43806f4152c3ff908c7ead039daf5e163700f0e.tar.gz |
Zend compatibility patch
Diffstat (limited to 'ext/crack')
-rw-r--r-- | ext/crack/crack.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ext/crack/crack.c b/ext/crack/crack.c index e69c63e290..f261381022 100644 --- a/ext/crack/crack.c +++ b/ext/crack/crack.c @@ -61,7 +61,7 @@ PHP_INI_BEGIN() STD_PHP_INI_ENTRY("crack.default_dictionary", NULL, PHP_INI_SYSTEM, OnUpdateString, default_dictionary, zend_crack_globals, crack_globals) PHP_INI_END() -long _crack_open_dict(char *dictpath) +long _crack_open_dict(char *dictpath TSRMLS_DC) { PWDICT *pwdict; long resource; @@ -145,7 +145,7 @@ ZEND_FUNCTION(crack_opendict) convert_to_string_ex(dictpath); - if (-1 == (resource = _crack_open_dict(Z_STRVAL_PP(dictpath)))) { + if (-1 == (resource = _crack_open_dict(Z_STRVAL_PP(dictpath) TSRMLS_CC))) { RETURN_FALSE; } @@ -202,7 +202,7 @@ ZEND_FUNCTION(crack_check) RETURN_FALSE; } if (NULL != CRACKG(default_dictionary) && CRACKG(current_id) == -1) { - _crack_open_dict(CRACKG(default_dictionary)); + _crack_open_dict(CRACKG(default_dictionary) TSRMLS_CC); } id = CRACKG(current_id); break; |