diff options
| author | Pierre Joye <pajoye@php.net> | 2009-04-24 14:53:59 +0000 |
|---|---|---|
| committer | Pierre Joye <pajoye@php.net> | 2009-04-24 14:53:59 +0000 |
| commit | 28e7780326a6864ea2ffb9c34621e077aac9e733 (patch) | |
| tree | 29161b2e782c1f302162ea1746f535983ad05caa /ext/imap/php_imap.c | |
| parent | fab09bda92338c85c16f16b72a09840640face8f (diff) | |
| download | php-git-28e7780326a6864ea2ffb9c34621e077aac9e733.tar.gz | |
- #47940, pass body_len
Diffstat (limited to 'ext/imap/php_imap.c')
| -rw-r--r-- | ext/imap/php_imap.c | 2 |
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 { |
