cvs: php-src(PHP_5_2) /ext/pspell pspell.c
| From: | Antony Dovgal | Date: | Wed, 13 Aug 2008 08:09:55 +0000 |
| Subject: | cvs: php-src(PHP_5_2) /ext/pspell pspell.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-52281@lists.php.net to get a copy of this message | ||
tony2001 Wed Aug 13 08:09:55 2008 UTC
Modified files: (Branch: PHP_5_2)
/php-src/ext/pspell pspell.c
Log:
MFH: fix compile warnings (patch by Phil Oleson)
http://cvs.php.net/viewvc.cgi/php-src/ext/pspell/pspell.c?r1=1.45.2.4.2.8&r2=1.45.2.4.2.9&diff_format=u
Index: php-src/ext/pspell/pspell.c
diff -u php-src/ext/pspell/pspell.c:1.45.2.4.2.8 php-src/ext/pspell/pspell.c:1.45.2.4.2.9
--- php-src/ext/pspell/pspell.c:1.45.2.4.2.8 Mon Dec 31 07:20:10 2007
+++ php-src/ext/pspell/pspell.c Wed Aug 13 08:09:55 2008
@@ -16,7 +16,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: pspell.c,v 1.45.2.4.2.8 2007/12/31 07:20:10 sebastian Exp $ */
+/* $Id: pspell.c,v 1.45.2.4.2.9 2008/08/13 08:09:55 tony2001 Exp $ */
#define IS_EXT_MODULE
@@ -251,7 +251,7 @@
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;
}
@@ -374,7 +374,7 @@
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;
}
@@ -408,7 +408,7 @@
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;
}