tony2001                Wed Aug 13 08:08:30 2008 UTC

  Modified files:              
    /php-src/ext/pspell pspell.c 
  Log:
  fix compile warnings (patch by Phil Oleson)
  
  
http://cvs.php.net/viewvc.cgi/php-src/ext/pspell/pspell.c?r1=1.61&r2=1.62&diff_format=u
Index: php-src/ext/pspell/pspell.c
diff -u php-src/ext/pspell/pspell.c:1.61 php-src/ext/pspell/pspell.c:1.62
--- php-src/ext/pspell/pspell.c:1.61    Wed Jul 16 18:35:41 2008
+++ php-src/ext/pspell/pspell.c Wed Aug 13 08:08:30 2008
@@ -16,7 +16,7 @@
    +----------------------------------------------------------------------+
 */
 
-/* $Id: pspell.c,v 1.61 2008/07/16 18:35:41 felipe Exp $ */
+/* $Id: pspell.c,v 1.62 2008/08/13 08:08:30 tony2001 Exp $ */
 
 #define IS_EXT_MODULE
 
@@ -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;
        }
        
@@ -492,7 +492,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;
        }
        
@@ -526,7 +526,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;
        }
        



-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to