瀏覽代碼

added file info

stekkel 23 年之前
父節點
當前提交
c6618da648
共有 1 個文件被更改,包括 14 次插入4 次删除
  1. 14 4
      class/deliver/Deliver.class.php

+ 14 - 4
class/deliver/Deliver.class.php

@@ -1,5 +1,17 @@
 <?php
 
+/**
+ * Deliver.class.php
+ *
+ * Copyright (c) 1999-2002 The SquirrelMail Project Team
+ * Licensed under the GNU GPL. For full terms see the file COPYING.
+ *
+ * This contains all the functions needed to send messages through
+ * a delivery backend.
+ *
+ * $Id$
+ */
+
 class Deliver {
 
     function mail($message, $stream) {
@@ -97,14 +109,14 @@ class Deliver {
 	}
     }
     
-    function clean_crlf($s) {
+    function clean_crlf(&$s) {
         $s = str_replace("\r\n", "\n", $s);
         $s = str_replace("\r", "\n", $s);
         $s = str_replace("\n", "\r\n", $s);
 	return strlen($s);
     }
 
-    function preWriteToStream($&s) {
+    function preWriteToStream(&$s) {
     }
     
     function writeToStream($stream, $data) {
@@ -383,6 +395,4 @@ function timezone () {
     return ($result);
 }
 
-
 ?>
-