summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorthomascube <thomas@roundcube.net>2005-10-24 21:02:27 +0000
committerthomascube <thomas@roundcube.net>2005-10-24 21:02:27 +0000
commite0ed972884aff33465ac551c8ef06febb57e4c54 (patch)
tree4cc643f877bc1a56e6e8242c1d92ab9d82a347a0
parentf3b659935f3386c077746cd7a84770532ed0ec50 (diff)
Optimized memory usage when sending a message
-rw-r--r--program/include/rcube_smtp.inc2
-rw-r--r--program/js/app.js2
-rw-r--r--program/lib/imap.inc2
3 files changed, 3 insertions, 3 deletions
diff --git a/program/include/rcube_smtp.inc b/program/include/rcube_smtp.inc
index 5cea00697..e5691759c 100644
--- a/program/include/rcube_smtp.inc
+++ b/program/include/rcube_smtp.inc
@@ -49,7 +49,7 @@ $SMTP_CONN = null;
* @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 2b9a50f96..7179898d8 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 fc5ff09d7..7f4c93a60 100644
--- a/program/lib/imap.inc
+++ b/program/lib/imap.inc
@@ -1885,7 +1885,7 @@ function iil_C_DeleteFolder(&$conn, $folder){
}
}
-function iil_C_Append(&$conn, $folder, $message){
+function iil_C_Append(&$conn, $folder, &$message){
if (!$folder) return false;
$fp = $conn->fp;