summaryrefslogtreecommitdiff
path: root/ext/imap/php_imap.c
diff options
context:
space:
mode:
authorPierre Joye <pajoye@php.net>2009-04-24 14:53:59 +0000
committerPierre Joye <pajoye@php.net>2009-04-24 14:53:59 +0000
commit28e7780326a6864ea2ffb9c34621e077aac9e733 (patch)
tree29161b2e782c1f302162ea1746f535983ad05caa /ext/imap/php_imap.c
parentfab09bda92338c85c16f16b72a09840640face8f (diff)
downloadphp-git-28e7780326a6864ea2ffb9c34621e077aac9e733.tar.gz
- #47940, pass body_len
Diffstat (limited to 'ext/imap/php_imap.c')
-rw-r--r--ext/imap/php_imap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/imap/php_imap.c b/ext/imap/php_imap.c
index ee829039eb..f761e9b67e 100644
--- a/ext/imap/php_imap.c
+++ b/ext/imap/php_imap.c
@@ -1251,7 +1251,7 @@ PHP_FUNCTION(imap_body)
php_error_docref(NULL TSRMLS_CC, E_WARNING, "Bad message number");
RETURN_FALSE;
}
- body = mail_fetchtext_full (imap_le_struct->imap_stream, Z_LVAL_PP(msgno), NIL, (myargc==3 ? Z_LVAL_PP(pflags) : NIL));
+ body = mail_fetchtext_full (imap_le_struct->imap_stream, Z_LVAL_PP(msgno), &body_len, (myargc==3 ? Z_LVAL_PP(pflags) : NIL));
if (body_len == 0) {
RETVAL_EMPTY_STRING();
} else {