cvs: /php4/ext/imap php_imap.c php_imap.h
| From: | Andrew Skalski | Date: | Mon, 17 Apr 2000 19:29:29 +0000 |
| Subject: | cvs: /php4/ext/imap php_imap.c php_imap.h | ||
| Groups: | php.version4 | ||
| Request: | Send a blank email to php-version4+get-13640@lists.php.net to get a copy of this message | ||
askalski Mon Apr 17 12:29:29 2000 EDT
Modified files:
/php4/ext/imap php_imap.c php_imap.h
Log:
fixed imap quota/relogin compilation errors
Index: php4/ext/imap/php_imap.c
diff -u php4/ext/imap/php_imap.c:1.9 php4/ext/imap/php_imap.c:1.10
--- php4/ext/imap/php_imap.c:1.9 Fri Apr 7 08:07:56 2000
+++ php4/ext/imap/php_imap.c Mon Apr 17 12:28:58 2000
@@ -19,10 +19,11 @@
| Antoni Pamies Olive <toni@readysoft.net> |
| Rasmus Lerdorf <rasmus@lerdorf.on.ca> |
| Chuck Hagenbuch <chuck@horde.org> |
+ | Andrew Skalski <askalski@chekinc.com> |
| PHP 4.0 updates: Zeev Suraski <zeev@zend.com> |
+----------------------------------------------------------------------+
*/
-/* $Id: php_imap.c,v 1.9 2000/04/07 15:07:56 tedp Exp $ */
+/* $Id: php_imap.c,v 1.10 2000/04/17 19:28:58 askalski Exp $ */
#define IMAP41
@@ -2682,12 +2683,12 @@
}
#ifdef SA_QUOTA
if(IMAPG(status_flags) & SA_QUOTA) {
- add_property_long(return_value,"quota",status_quota);
+ add_property_long(return_value,"quota",IMAPG(status_quota));
}
#endif
#ifdef SA_QUOTA
if(IMAPG(status_flags) & SA_QUOTA_ALL) {
- add_property_long(return_value,"quota_all",status_quota_all);
+ add_property_long(return_value,"quota_all",IMAPG(status_quota_all));
}
#endif
} else {
@@ -3866,12 +3867,12 @@
#ifdef SA_QUOTA
if (IMAPG(status_flags) & SA_QUOTA) {
- status_quota=status->quota;
+ IMAPG(status_quota)=status->quota;
}
#endif
#ifdef SA_QUOTA_ALL
if (IMAPG(status_flags) & SA_QUOTA_ALL) {
- status_quota_all=status->quota_all;
+ IMAPG(status_quota_all)=status->quota_all;
}
#endif
}
Index: php4/ext/imap/php_imap.h
diff -u php4/ext/imap/php_imap.h:1.1 php4/ext/imap/php_imap.h:1.2
--- php4/ext/imap/php_imap.h:1.1 Sat Apr 1 08:49:39 2000
+++ php4/ext/imap/php_imap.h Mon Apr 17 12:28:58 2000
@@ -44,8 +44,8 @@
long flags;
#ifdef OP_RELOGIN
/* AJS: busy flag for persistent connections, pointers for chaining */
- struct php3_imap_le_struct *next;
- struct php3_imap_le_struct **prev;
+ struct php_imap_le_struct *next;
+ struct php_imap_le_struct **prev;
char busy;
#endif
} pils;