cvs: php4 /ext/imap php_imap.c
| From: | Hartmut Holzgraefe | Date: | Fri, 21 Jul 2000 15:50:37 +0000 |
| Subject: | cvs: php4 /ext/imap php_imap.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-835@lists.php.net to get a copy of this message | ||
hholzgra Fri Jul 21 08:50:37 2000 EDT
Modified files:
/php4/ext/imap php_imap.c
Log:
column size for date in imap_headers increased (see bug id #5699)
Index: php4/ext/imap/php_imap.c
diff -u php4/ext/imap/php_imap.c:1.35 php4/ext/imap/php_imap.c:1.36
--- php4/ext/imap/php_imap.c:1.35 Fri Jul 14 01:12:53 2000
+++ php4/ext/imap/php_imap.c Fri Jul 21 08:50:37 2000
@@ -24,7 +24,7 @@
| PHP 4.0 updates: Zeev Suraski <zeev@zend.com> |
+----------------------------------------------------------------------+
*/
-/* $Id: php_imap.c,v 1.35 2000/07/14 08:12:53 mikew Exp $ */
+/* $Id: php_imap.c,v 1.36 2000/07/21 15:50:37 hholzgra Exp $ */
#define IMAP41
@@ -136,6 +136,8 @@
PHP_FE(imap_errors, NULL)
PHP_FE(imap_last_error, NULL)
#ifndef PHP_WIN32
+ PHP_FALIAS(pdf_open_memory_image, warn_not_available, NULL)
+#else
PHP_FE(imap_mail, NULL)
#endif
PHP_FE(imap_search, NULL)
@@ -1075,9 +1077,9 @@
tmp[5] = cache->draft ? 'X' : ' ';
sprintf(tmp + 6, "%4ld) ", cache->msgno);
mail_date(tmp+11, cache);
- tmp[18] = ' ';
- tmp[19] = '\0';
- mail_fetchfrom(tmp+19, imap_le_struct->imap_stream, msgno, (long)20);
+ tmp[22] = ' ';
+ tmp[23] = '\0';
+ mail_fetchfrom(tmp+23, imap_le_struct->imap_stream, msgno, (long)20);
strcat(tmp, " ");
if ((i = cache->user_flags)) {
strcat(tmp, "{");
@@ -3213,7 +3215,11 @@
#endif
return 1;
}
+#endif
+
+
+#ifndef PHP_WIN32
/* {{{ proto int imap_mail(string to, string subject, string message [, string additional_headers
[, string cc [, string bcc [, string rpath]]]])
Send an email message */
PHP_FUNCTION(imap_mail)