diff options
author | Chuck Hagenbuch <chagenbu@php.net> | 1999-08-18 17:19:20 +0000 |
---|---|---|
committer | Chuck Hagenbuch <chagenbu@php.net> | 1999-08-18 17:19:20 +0000 |
commit | 869c196fa00e12a1b3bd94fffb01b6e3c07879eb (patch) | |
tree | e469b302cdadffc3b24b3fafe307c74e70a3bbfa | |
parent | c1218de0d2403d0578111db1439720fe6d8a5de5 (diff) | |
download | php-git-869c196fa00e12a1b3bd94fffb01b6e3c07879eb.tar.gz |
cjh: fixing the imap_add_body crash in php4.
-rw-r--r-- | ext/imap/imap.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/imap/imap.c b/ext/imap/imap.c index 0798cebd08..13a768c45a 100644 --- a/ext/imap/imap.c +++ b/ext/imap/imap.c @@ -1646,7 +1646,7 @@ void imap_add_body( pval *arg, BODY *body ) /* encapsulated message ? */ - if ( ( body->type == TYPEMESSAGE ) && (!strncasecmp(body->subtype, "rfc822", 6))) { + if ((body->type == TYPEMESSAGE) && (!strcasecmp(body->subtype, "rfc822"))) { body=body->CONTENT_MSG_BODY; MAKE_STD_ZVAL(parametres); array_init(parametres); |