cvs: php4 /ext/imap php_imap.c

From: Date: Sat, 03 Aug 2002 14:48:47 +0000
Subject: cvs: php4 /ext/imap php_imap.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-13105@lists.php.net to get a copy of this message
kalowsky Sat Aug 3 10:48:47 2002 EDT Modified files: /php4/ext/imap php_imap.c Log: Cleaning up the imap_get_quotaroot return array to remove useless data Index: php4/ext/imap/php_imap.c diff -u php4/ext/imap/php_imap.c:1.132 php4/ext/imap/php_imap.c:1.133 --- php4/ext/imap/php_imap.c:1.132 Thu Aug 1 10:47:48 2002 +++ php4/ext/imap/php_imap.c Sat Aug 3 10:48:47 2002 @@ -26,7 +26,7 @@ | PHP 4.0 updates: Zeev Suraski <zeev@zend.com> | +----------------------------------------------------------------------+ */ -/* $Id: php_imap.c,v 1.132 2002/08/01 14:47:48 kalowsky Exp $ */ +/* $Id: php_imap.c,v 1.133 2002/08/03 14:48:47 kalowsky Exp $ */ #define IMAP41 @@ -403,24 +403,6 @@ } } /* }}} */ - -/* {{{ mail_getquotaroot - * - * Mail GET_QUOTAROOT callback - * Called via the mail_parameter function in c-client:src/c-client/mail.c - * Author DRK - */ -void mail_getquotaroot(MAILSTREAM *stream, char *mbx, STRINGLIST *qroot) -{ - TSRMLS_FETCH(); - - add_next_index_stringl(IMAPG(quota_return), mbx, strlen(mbx), 1); - for(; qroot; qroot = qroot->next) { - add_next_index_stringl(IMAPG(quota_return), qroot->text.data, qroot->text.size, 1); - } - -} -/* }}} */ #endif @@ -1126,7 +1108,6 @@ /* set the callback for the GET_QUOTAROOT function */ mail_parameters(NIL, SET_QUOTA, (void *) mail_getquota); - mail_parameters(NIL, SET_QUOTAROOT, (void *) mail_getquotaroot); if(!imap_getquotaroot(imap_le_struct->imap_stream, Z_STRVAL_PP(mbox))) { php_error(E_WARNING, "%s(): c-client imap_getquotaroot failed", get_active_function_name(TSRMLS_C)); RETURN_FALSE;

« previous php.cvs (#13105) next »