tony2001 Thu Oct 20 12:54:49 2005 EDT
Modified files: (Branch: PHP_5_1)
/php-src/ext/standard filters.c
Log:
MFH: use proper constants
http://cvs.php.net/diff.php/php-src/ext/standard/filters.c?r1=1.44.2.1&r2=1.44.2.2&ty=u
Index: php-src/ext/standard/filters.c
diff -u php-src/ext/standard/filters.c:1.44.2.1
php-src/ext/standard/filters.c:1.44.2.2
--- php-src/ext/standard/filters.c:1.44.2.1 Sun Sep 25 09:26:30 2005
+++ php-src/ext/standard/filters.c Thu Oct 20 12:54:48 2005
@@ -17,7 +17,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: filters.c,v 1.44.2.1 2005/09/25 13:26:30 iliaa Exp $ */
+/* $Id: filters.c,v 1.44.2.2 2005/10/20 16:54:48 tony2001 Exp $ */
#include "php.h"
#include "php_globals.h"
@@ -376,7 +376,7 @@
}
inst->lbchars_dup = lbchars_dup;
inst->persistent = persistent;
- return SUCCESS;
+ return PHP_CONV_ERR_SUCCESS;
}
static void php_conv_base64_encode_dtor(php_conv_base64_encode *inst)
@@ -642,7 +642,7 @@
if (in_pp == NULL || in_left_p == NULL) {
if (inst->eos || inst->urem_nbits == 0) {
- return SUCCESS;
+ return PHP_CONV_ERR_SUCCESS;
}
return PHP_CONV_ERR_UNEXPECTED_EOS;
}
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php