cvs: /php4/ext/imap imap.c
| From: | Zeev Suraski | Date: | Sat, 05 Feb 2000 17:09:30 +0000 |
| Subject: | cvs: /php4/ext/imap imap.c | ||
| Groups: | php.version4 | ||
| Request: | Send a blank email to php-version4+get-9852@lists.php.net to get a copy of this message | ||
zeev Sat Feb 5 09:09:30 2000 EDT
Modified files:
/php4/ext/imap imap.c
Log:
Fix
Index: php4/ext/imap/imap.c
diff -u php4/ext/imap/imap.c:1.29 php4/ext/imap/imap.c:1.30
--- php4/ext/imap/imap.c:1.29 Fri Dec 31 17:31:36 1999
+++ php4/ext/imap/imap.c Sat Feb 5 09:09:00 2000
@@ -21,7 +21,7 @@
| PHP 4.0 updates: Zeev Suraski <zeev@zend.com> |
+----------------------------------------------------------------------+
*/
-/* $Id: imap.c,v 1.29 2000/01/01 01:31:36 sas Exp $ */
+/* $Id: imap.c,v 1.30 2000/02/05 17:09:00 zeev Exp $ */
#define IMAP41
@@ -422,8 +422,6 @@
unsigned long sa_all = SA_MESSAGES | SA_RECENT | SA_UNSEEN |
SA_UIDNEXT | SA_UIDVALIDITY;
- ELS_FETCH();
-
#if !(WIN32|WINNT)
mail_link(&unixdriver); /* link in the unix driver */
#endif
@@ -689,7 +687,7 @@
sprintf(hashed_details, "imap_%s", netmbx.host);
/* Check for an existing connection. */
- if ( (_php3_hash_find(plist,
+ if ( (zend_hash_find(&EG(persistent_list),
hashed_details,
hashed_details_length,
(void*) &le) == FAILURE) ||
@@ -745,7 +743,7 @@
free(node);
/* delete the hash entry if empty */
if (*headp == NULL)
- _php3_hash_del(plist,
+ zend_hash_del(&EG(persistent_list),
hashed_details,
hashed_details_length);
}
@@ -783,7 +781,7 @@
new_le.type = le_pimapchain;
new_le.ptr = headp;
if ( need_update &&
- _php3_hash_update(plist, hashed_details,
+ zend_hash_update(&EG(persistent_list), hashed_details,
hashed_details_length, &new_le,
sizeof(new_le), NULL) == FAILURE)
{