@@ -771,7 +771,7 @@ static void php_conv_qprint_encode_dtor(php_conv_qprint_encode *inst)
771
771
}
772
772
773
773
#define NEXT_CHAR (ps , icnt , lb_ptr , lb_cnt , lbchars ) \
774
- ((lb_ptr) < (lb_cnt) ? (lbchars)[(lb_ptr)] : *(ps))
774
+ ((lb_ptr) < (lb_cnt) ? (lbchars)[(lb_ptr)] : *(ps))
775
775
776
776
#define CONSUME_CHAR (ps , icnt , lb_ptr , lb_cnt ) \
777
777
if ((lb_ptr) < (lb_cnt)) { \
@@ -841,7 +841,7 @@ static php_conv_err_t php_conv_qprint_encode_convert(php_conv_qprint_encode *ins
841
841
842
842
if (lb_ptr >= lb_cnt && icnt <= 0 ) {
843
843
break ;
844
- }
844
+ }
845
845
846
846
c = NEXT_CHAR (ps , icnt , lb_ptr , lb_cnt , inst -> lbchars );
847
847
@@ -903,7 +903,7 @@ static php_conv_err_t php_conv_qprint_encode_convert(php_conv_qprint_encode *ins
903
903
CONSUME_CHAR (ps , icnt , lb_ptr , lb_cnt );
904
904
}
905
905
}
906
- } else if ((!(opts & PHP_CONV_QPRINT_OPT_FORCE_ENCODE_FIRST ) || line_ccnt < inst -> line_len ) && ((c >= 33 && c <= 60 ) || (c >= 62 && c <= 126 ))) {
906
+ } else if ((!(opts & PHP_CONV_QPRINT_OPT_FORCE_ENCODE_FIRST ) || line_ccnt < inst -> line_len ) && ((c >= 33 && c <= 60 ) || (c >= 62 && c <= 126 ))) {
907
907
if (line_ccnt < 2 && inst -> lbchars != NULL ) {
908
908
if (ocnt < inst -> lbchars_len + 1 ) {
909
909
err = PHP_CONV_ERR_TOO_BIG ;
@@ -947,7 +947,7 @@ static php_conv_err_t php_conv_qprint_encode_convert(php_conv_qprint_encode *ins
947
947
}
948
948
* (pd ++ ) = '=' ;
949
949
* (pd ++ ) = qp_digits [(c >> 4 )];
950
- * (pd ++ ) = qp_digits [(c & 0x0f )];
950
+ * (pd ++ ) = qp_digits [(c & 0x0f )];
951
951
ocnt -= 3 ;
952
952
line_ccnt -= 3 ;
953
953
trail_ws -- ;
@@ -958,7 +958,7 @@ static php_conv_err_t php_conv_qprint_encode_convert(php_conv_qprint_encode *ins
958
958
* in_pp = (const char * )ps ;
959
959
* in_left_p = icnt ;
960
960
* out_pp = (char * )pd ;
961
- * out_left_p = ocnt ;
961
+ * out_left_p = ocnt ;
962
962
inst -> line_ccnt = line_ccnt ;
963
963
inst -> lb_ptr = lb_ptr ;
964
964
inst -> lb_cnt = lb_cnt ;
0 commit comments