cvs: php4 /ext/imap php_imap.c
| From: | Jani Taskinen | Date: | Mon, 06 Aug 2001 15:29:50 +0000 |
| Subject: | cvs: php4 /ext/imap php_imap.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-6603@lists.php.net to get a copy of this message | ||
sniper Mon Aug 6 11:29:50 2001 EDT
Modified files:
/php4/ext/imap php_imap.c
Log:
removed unused function. (seems like a copy of imap_body)
Index: php4/ext/imap/php_imap.c
diff -u php4/ext/imap/php_imap.c:1.90 php4/ext/imap/php_imap.c:1.91
--- php4/ext/imap/php_imap.c:1.90 Tue Jul 31 01:43:55 2001
+++ php4/ext/imap/php_imap.c Mon Aug 6 11:29:49 2001
@@ -25,7 +25,7 @@
| PHP 4.0 updates: Zeev Suraski <zeev@zend.com> |
+----------------------------------------------------------------------+
*/
-/* $Id: php_imap.c,v 1.90 2001/07/31 05:43:55 zeev Exp $ */
+/* $Id: php_imap.c,v 1.91 2001/08/06 15:29:49 sniper Exp $ */
#define IMAP41
@@ -1259,34 +1259,6 @@
}
RETVAL_STRING(mail_fetchtext_full (imap_le_struct->imap_stream, Z_LVAL_PP(msgno), NIL,
myargc==3 ? Z_LVAL_PP(flags) : NIL), 1);
-}
-/* }}} */
-
-/* {{{ proto string imap_fetchtext_full(int stream_id, int msg_no [, int options])
- Read the full text of a message */
-PHP_FUNCTION(imap_fetchtext_full)
-{
- zval **streamind, **msgno, **flags;
- int ind, ind_type;
- pils *imap_le_struct;
- int myargcount = ZEND_NUM_ARGS();
- if (myargcount >3 || myargcount <2 || zend_get_parameters_ex(myargcount, &streamind,
&msgno, &flags) == FAILURE) {
- ZEND_WRONG_PARAM_COUNT();
- }
-
- convert_to_long_ex(streamind);
- convert_to_long_ex(msgno);
- if (myargcount == 3) {
- convert_to_long_ex(flags);
- }
- ind = Z_LVAL_PP(streamind);
-
- imap_le_struct = (pils *) zend_list_find(ind, &ind_type);
- if (!imap_le_struct || !IS_STREAM(ind_type)) {
- php_error(E_WARNING, "Unable to find stream pointer");
- RETURN_FALSE;
- }
- RETVAL_STRING(mail_fetchtext_full(imap_le_struct->imap_stream, Z_LVAL_PP(msgno), NIL,
myargcount==3 ? Z_LVAL_PP(flags) : NIL), 1);
}
/* }}} */