CVS update: php3/functions
| From: | rasmus | Date: | Fri, 04 Sep 1998 18:10:27 +0000 |
| Subject: | CVS update: php3/functions | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-807@lists.php.net to get a copy of this message | ||
Date: Friday September 4, 1998 @ 14:10
Author: rasmus
Update of /repository/php3/functions
In directory asf:/export/home/rasmus/php3/functions
Modified Files:
imap.c
Log Message:
Watch your pointers, kids.
Index: php3/functions/imap.c
diff -c php3/functions/imap.c:1.32 php3/functions/imap.c:1.33
*** php3/functions/imap.c:1.32 Fri Sep 4 09:31:45 1998
--- php3/functions/imap.c Fri Sep 4 14:10:26 1998
***************
*** 31,37 ****
| Rasmus Lerdorf <rasmus@lerdorf.on.ca> |
+----------------------------------------------------------------------+
*/
! /* $Id: imap.c,v 1.32 1998/09/04 13:31:45 rasmus Exp $ */
#define IMAP41
--- 31,37 ----
| Rasmus Lerdorf <rasmus@lerdorf.on.ca> |
+----------------------------------------------------------------------+
*/
! /* $Id: imap.c,v 1.33 1998/09/04 18:10:26 rasmus Exp $ */
#define IMAP41
***************
*** 607,613 ****
convert_to_long(streamind);
ind = streamind->value.lval;
imap_le_struct = (pils *)php3_list_find(ind, &ind_type);
! if (!imap_le_struct->imap_stream || ind_type != le_imap) {
php3_error(E_WARNING, "Unable to find stream pointer");
RETURN_FALSE;
}
--- 607,613 ----
convert_to_long(streamind);
ind = streamind->value.lval;
imap_le_struct = (pils *)php3_list_find(ind, &ind_type);
! if (!imap_le_struct || ind_type != le_imap) {
php3_error(E_WARNING, "Unable to find stream pointer");
RETURN_FALSE;
}
***************
*** 646,652 ****
imap_le_struct = (pils *)php3_list_find(ind, &ind_type);
! if (!imap_le_struct->imap_stream || ind_type != le_imap) {
php3_error(E_WARNING, "Unable to find stream pointer");
RETURN_FALSE;
}
--- 646,652 ----
imap_le_struct = (pils *)php3_list_find(ind, &ind_type);
! if (!imap_le_struct || ind_type != le_imap) {
php3_error(E_WARNING, "Unable to find stream pointer");
RETURN_FALSE;
}
--
PHP Development Mailing List http://www.php.net/
To unsubscribe send an empty message to php-dev-unsubscribe@lists.php.net
For help: php-dev-help@lists.php.net