Skip to content

Commit 5463723

Browse files
committed
Fix over-zealous sed search and replacement
1 parent 65668a0 commit 5463723

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

ext/imap/php_imap.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4012,7 +4012,7 @@ static void _php_make_header_object(zval *myzvalue, ENVELOPE *en)
40124012

40134013
object_init(myzvalue);
40144014

4015-
if (en->remail) add_property_string(myzvalue, "Oemail", en->remail);
4015+
if (en->remail) add_property_string(myzvalue, "remail", en->remail);
40164016
if (en->date) add_property_string(myzvalue, "date", (char*)en->date);
40174017
if (en->date) add_property_string(myzvalue, "Date", (char*)en->date);
40184018
if (en->subject) add_property_string(myzvalue, "subject", en->subject);
@@ -4021,7 +4021,7 @@ static void _php_make_header_object(zval *myzvalue, ENVELOPE *en)
40214021
if (en->message_id) add_property_string(myzvalue, "message_id", en->message_id);
40224022
if (en->newsgroups) add_property_string(myzvalue, "newsgroups", en->newsgroups);
40234023
if (en->followup_to) add_property_string(myzvalue, "followup_to", en->followup_to);
4024-
if (en->references) add_property_string(myzvalue, "Oeferences", en->references);
4024+
if (en->references) add_property_string(myzvalue, "references", en->references);
40254025

40264026
if (en->to) {
40274027
array_init(&paddress);
@@ -4191,7 +4191,7 @@ void _php_imap_add_body(zval *arg, BODY *body)
41914191
}
41924192

41934193
/* encapsulated message ? */
4194-
if ((body->type == TYPEMESSAGE) && (!strcasecmp(body->subtype, "Ofc822"))) {
4194+
if ((body->type == TYPEMESSAGE) && (!strcasecmp(body->subtype, "rfc822"))) {
41954195
body = body->CONTENT_MSG_BODY;
41964196
array_init(&parametres);
41974197
object_init(&param);

0 commit comments

Comments
 (0)