summaryrefslogtreecommitdiff
path: root/ext/imap
diff options
context:
space:
mode:
authorJani Taskinen <jani@php.net>2009-05-05 01:21:10 +0000
committerJani Taskinen <jani@php.net>2009-05-05 01:21:10 +0000
commita02d4a690a4641615db796f550aab662a6b2d8b8 (patch)
treeab2a90f600242e59bc4d45253fa2cd4e046b5861 /ext/imap
parent4d7fe7444b5be911b7b36e935bea300fdbcf564f (diff)
downloadphp-git-a02d4a690a4641615db796f550aab662a6b2d8b8.tar.gz
- sync with HEAD
Diffstat (limited to 'ext/imap')
-rw-r--r--ext/imap/php_imap.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/imap/php_imap.c b/ext/imap/php_imap.c
index 8ad4ac1a4a..3f5ddf54c4 100644
--- a/ext/imap/php_imap.c
+++ b/ext/imap/php_imap.c
@@ -860,7 +860,7 @@ PHP_MINIT_FUNCTION(imap)
REGISTER_LONG_CONSTANT("NIL", NIL, CONST_PERSISTENT | CONST_CS);
/* plug in our gets */
- mail_parameters(NIL, SET_GETS, (void *) NULL);
+ mail_parameters(NIL, SET_GETS, (void *) NIL);
/* set default timeout values */
mail_parameters(NIL, SET_OPENTIMEOUT, (void *) FG(default_socket_timeout));
@@ -2342,7 +2342,7 @@ PHP_FUNCTION(imap_savebody)
IMAPG(gets_stream) = writer;
mail_parameters(NIL, SET_GETS, (void *) php_mail_gets);
mail_fetchbody_full(imap_ptr->imap_stream, msgno, section, NULL, flags);
- mail_parameters(NIL, SET_GETS, (void *) NULL);
+ mail_parameters(NIL, SET_GETS, (void *) NIL);
IMAPG(gets_stream) = NULL;
if (close_stream) {