]> granicus.if.org Git - php/commitdiff
use proper constants
authorAntony Dovgal <tony2001@php.net>
Thu, 20 Oct 2005 16:54:19 +0000 (16:54 +0000)
committerAntony Dovgal <tony2001@php.net>
Thu, 20 Oct 2005 16:54:19 +0000 (16:54 +0000)
ext/standard/filters.c

index 5a4ef15a952730c90a1cf5867685ef1a22f88870..0f516a9dfb01e7a2ecacf48cb46c9f11ec804a32 100644 (file)
@@ -451,7 +451,7 @@ static php_conv_err_t php_conv_base64_encode_ctor(php_conv_base64_encode *inst,
        }
        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 @@ static php_conv_err_t php_conv_base64_decode_convert(php_conv_base64_decode *ins
 
        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;
        }