cvs: /php3/functions imap.c
| From: | Mark Musone | Date: | Wed, 18 Aug 1999 18:52:37 +0000 |
| Subject: | cvs: /php3/functions imap.c | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-9994@lists.php.net to get a copy of this message | ||
musone Wed Aug 18 14:52:37 1999 EDT
Modified files:
/php3/functions imap.c
Log:
fixed seg fault with reopening a stream, courtesy of Stig Venaas
Index: php3/functions/imap.c
diff -u php3/functions/imap.c:1.65 php3/functions/imap.c:1.66
--- php3/functions/imap.c:1.65 Wed Aug 18 13:15:04 1999
+++ php3/functions/imap.c Wed Aug 18 14:52:36 1999
@@ -33,7 +33,7 @@
| Andrew Skalski <askalski@chek.com> |
+----------------------------------------------------------------------+
*/
-/* $Id: imap.c,v 1.65 1999/08/18 17:15:04 chagenbu Exp $ */
+/* $Id: imap.c,v 1.66 1999/08/18 18:52:36 musone Exp $ */
#define IMAP41
@@ -835,6 +835,7 @@
php3_error(E_WARNING,"Couldn't re-open stream\n");
RETURN_FALSE;
}
+ imap_le_struct->imap_stream = imap_stream;
RETURN_TRUE;
}
/* }}} */