tony2001 Thu Oct 20 12:54:23 2005 EDT
Modified files:
/php-src/ext/standard filters.c
Log:
use proper constants
http://cvs.php.net/diff.php/php-src/ext/standard/filters.c?r1=1.47&r2=1.48&ty=u
Index: php-src/ext/standard/filters.c
diff -u php-src/ext/standard/filters.c:1.47 php-src/ext/standard/filters.c:1.48
--- php-src/ext/standard/filters.c:1.47 Sun Sep 25 09:26:19 2005
+++ php-src/ext/standard/filters.c Thu Oct 20 12:54:19 2005
@@ -17,7 +17,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: filters.c,v 1.47 2005/09/25 13:26:19 iliaa Exp $ */
+/* $Id: filters.c,v 1.48 2005/10/20 16:54:19 tony2001 Exp $ */
#include "php.h"
#include "php_globals.h"
@@ -451,7 +451,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)
@@ -717,7 +717,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