From e0ed972884aff33465ac551c8ef06febb57e4c54 Mon Sep 17 00:00:00 2001
From: thomascube <thomas@roundcube.net>
Date: Mon, 24 Oct 2005 17:02:27 -0400
Subject: [PATCH] Optimized memory usage when sending a message
---
program/include/rcube_smtp.inc | 2 +-
program/lib/imap.inc | 2 +-
program/js/app.js | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/program/include/rcube_smtp.inc b/program/include/rcube_smtp.inc
index 5cea006..e569175 100644
--- a/program/include/rcube_smtp.inc
+++ b/program/include/rcube_smtp.inc
@@ -49,7 +49,7 @@
* @return bool Returns TRUE on success, or FALSE on error
* @access public
*/
-function smtp_mail($from, $recipients, $headers, $body)
+function smtp_mail($from, $recipients, $headers, &$body)
{
global $SMTP_CONN, $CONFIG, $SMTP_ERROR;
$smtp_timeout = null;
diff --git a/program/js/app.js b/program/js/app.js
index 2b9a50f..7179898 100644
--- a/program/js/app.js
+++ b/program/js/app.js
@@ -1,4 +1,4 @@
-/*
+/*
+-----------------------------------------------------------------------+
| RoundCube Webmail Client Script |
| |
diff --git a/program/lib/imap.inc b/program/lib/imap.inc
index fc5ff09..7f4c93a 100644
--- a/program/lib/imap.inc
+++ b/program/lib/imap.inc
@@ -1885,7 +1885,7 @@
}
}
-function iil_C_Append(&$conn, $folder, $message){
+function iil_C_Append(&$conn, $folder, &$message){
if (!$folder) return false;
$fp = $conn->fp;
--
Gitblit v1.9.1