cvs: php4 /ext/aspell aspell.c

From: Date: Wed, 26 Jun 2002 07:11:47 +0000
Subject: cvs: php4 /ext/aspell aspell.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-12523@lists.php.net to get a copy of this message
derick Wed Jun 26 03:11:47 2002 EDT Modified files: /php4/ext/aspell aspell.c Log: Unify error messages Index: php4/ext/aspell/aspell.c diff -u php4/ext/aspell/aspell.c:1.37 php4/ext/aspell/aspell.c:1.38 --- php4/ext/aspell/aspell.c:1.37 Thu Feb 28 03:25:38 2002 +++ php4/ext/aspell/aspell.c Wed Jun 26 03:11:46 2002 @@ -16,7 +16,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: aspell.c,v 1.37 2002/02/28 08:25:38 sebastian Exp $ */ +/* $Id: aspell.c,v 1.38 2002/06/26 07:11:46 derick Exp $ */ #ifdef HAVE_CONFIG_H #include "config.h" @@ -126,7 +126,7 @@ sc = (aspell *)zend_list_find(Z_LVAL_PP(scin), &type); if(!sc) { - php_error(E_WARNING, "%d is not an ASPELL result index", Z_LVAL_PP(scin)); + php_error(E_WARNING, "%s(): %d is not an ASPELL result index", get_active_function_name(TSRMLS_C), Z_LVAL_PP(scin)); RETURN_FALSE; } @@ -160,7 +160,7 @@ sc= (aspell *) zend_list_find(Z_LVAL_PP(scin), &type); if(!sc) { - php_error(E_WARNING, "%d is not an ASPELL result index", Z_LVAL_PP(scin)); + php_error(E_WARNING, "%s(): %d is not an ASPELL result index", get_active_function_name(TSRMLS_C), Z_LVAL_PP(scin)); RETURN_FALSE; } if (aspell_check(sc, Z_STRVAL_PP(word))) @@ -192,7 +192,7 @@ sc = (aspell *)zend_list_find(Z_LVAL_PP(scin), &type); if(!sc) { - php_error(E_WARNING, "%d is not an ASPELL result index", Z_LVAL_PP(scin)); + php_error(E_WARNING, "%s(): %d is not an ASPELL result index", get_active_function_name(TSRMLS_C), Z_LVAL_PP(scin)); RETURN_FALSE; } if (aspell_check_raw(sc, Z_STRVAL_PP(word)))

« previous php.cvs (#12523) next »