diff options
author | Antony Dovgal <tony2001@php.net> | 2008-08-13 08:08:47 +0000 |
---|---|---|
committer | Antony Dovgal <tony2001@php.net> | 2008-08-13 08:08:47 +0000 |
commit | dd95e7427ba251d5062438bd8f20be42c55ca75d (patch) | |
tree | 6dcad1fb66b69dd752ae4a0047282ef092beee72 /ext/pspell | |
parent | 1ff61ab8a450a5f80ac37480e53e84447b569819 (diff) | |
download | php-git-dd95e7427ba251d5062438bd8f20be42c55ca75d.tar.gz |
MFH: fix compile warnings (patch by Phil Oleson)
Diffstat (limited to 'ext/pspell')
-rw-r--r-- | ext/pspell/pspell.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ext/pspell/pspell.c b/ext/pspell/pspell.c index 40fddd8797..9385d35d3b 100644 --- a/ext/pspell/pspell.c +++ b/ext/pspell/pspell.c @@ -361,7 +361,7 @@ static PHP_FUNCTION(pspell_new) if(pspell_error_number(ret) != 0){ php_error_docref(NULL TSRMLS_CC, E_WARNING, "PSPELL couldn't open the dictionary. reason: %s ", pspell_error_message(ret)); - delete_pspell_manager(ret); + delete_pspell_can_have_error(ret); RETURN_FALSE; } @@ -471,7 +471,7 @@ static PHP_FUNCTION(pspell_new_personal) if(pspell_error_number(ret) != 0){ php_error_docref(NULL TSRMLS_CC, E_WARNING, "PSPELL couldn't open the dictionary. reason: %s ", pspell_error_message(ret)); - delete_pspell_manager(ret); + delete_pspell_can_have_error(ret); RETURN_FALSE; } @@ -502,7 +502,7 @@ static PHP_FUNCTION(pspell_new_config) if(pspell_error_number(ret) != 0){ php_error_docref(NULL TSRMLS_CC, E_WARNING, "PSPELL couldn't open the dictionary. reason: %s ", pspell_error_message(ret)); - delete_pspell_manager(ret); + delete_pspell_can_have_error(ret); RETURN_FALSE; } |