File tree 1 file changed +5
-5
lines changed
1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -4203,9 +4203,9 @@ PHP_FUNCTION(mb_send_mail)
4203
4203
char * to_r = NULL ;
4204
4204
char * force_extra_parameters = INI_STR ("mail.force_extra_parameters" );
4205
4205
struct {
4206
- int cnt_type :1 ;
4207
- int cnt_trans_enc :1 ;
4208
- } suppressed_hdrs = { 0 , 0 };
4206
+ bool cnt_type :1 ;
4207
+ bool cnt_trans_enc :1 ;
4208
+ } suppressed_hdrs = { false, false };
4209
4209
4210
4210
char * p ;
4211
4211
enum mbfl_no_encoding ;
@@ -4288,7 +4288,7 @@ PHP_FUNCTION(mb_send_mail)
4288
4288
}
4289
4289
}
4290
4290
}
4291
- suppressed_hdrs .cnt_type = 1 ;
4291
+ suppressed_hdrs .cnt_type = true ;
4292
4292
}
4293
4293
4294
4294
if ((s = zend_hash_str_find (& ht_headers , "content-transfer-encoding" , sizeof ("content-transfer-encoding" ) - 1 ))) {
@@ -4308,7 +4308,7 @@ PHP_FUNCTION(mb_send_mail)
4308
4308
body_enc = & mbfl_encoding_8bit ;
4309
4309
break ;
4310
4310
}
4311
- suppressed_hdrs .cnt_trans_enc = 1 ;
4311
+ suppressed_hdrs .cnt_trans_enc = true ;
4312
4312
}
4313
4313
4314
4314
/* To: */
You can’t perform that action at this time.
0 commit comments