summaryrefslogtreecommitdiff
path: root/program/lib
diff options
context:
space:
mode:
authorthomascube <thomas@roundcube.net>2005-09-28 22:28:05 +0000
committerthomascube <thomas@roundcube.net>2005-09-28 22:28:05 +0000
commit30233b8dfb7fe5070dfa11b3e6d2015fb50aa769 (patch)
tree46cf5db699d97802e7c408c00a62e72dc22c640f /program/lib
parent20a1b3a0e1a46266b149a23562bb71680e666edb (diff)
Minor bugfixes and correction of confusing License notfications
Diffstat (limited to 'program/lib')
-rw-r--r--program/lib/Mail/mime.php2
-rw-r--r--program/lib/Mail/mimeDecode.php2
-rw-r--r--program/lib/Mail/mimePart.php2
-rw-r--r--program/lib/imap.inc4
4 files changed, 5 insertions, 5 deletions
diff --git a/program/lib/Mail/mime.php b/program/lib/Mail/mime.php
index 830352c42..da43d15ae 100644
--- a/program/lib/Mail/mime.php
+++ b/program/lib/Mail/mime.php
@@ -3,7 +3,7 @@
// +-----------------------------------------------------------------------+
// | Copyright (c) 2002-2003 Richard Heyes |
// | Copyright (c) 2003-2005 The PHP Group |
-// | All rights reserved. |
+// | Licensed under the GNU GPL |
// | |
// | Redistribution and use in source and binary forms, with or without |
// | modification, are permitted provided that the following conditions |
diff --git a/program/lib/Mail/mimeDecode.php b/program/lib/Mail/mimeDecode.php
index 92827b727..5bcf4fb31 100644
--- a/program/lib/Mail/mimeDecode.php
+++ b/program/lib/Mail/mimeDecode.php
@@ -3,7 +3,7 @@
// +-----------------------------------------------------------------------+
// | Copyright (c) 2002-2003 Richard Heyes |
// | Copyright (c) 2003-2005 The PHP Group |
-// | All rights reserved. |
+// | Licensed under the GNU GPL |
// | |
// | Redistribution and use in source and binary forms, with or without |
// | modification, are permitted provided that the following conditions |
diff --git a/program/lib/Mail/mimePart.php b/program/lib/Mail/mimePart.php
index b429b905e..45a00523d 100644
--- a/program/lib/Mail/mimePart.php
+++ b/program/lib/Mail/mimePart.php
@@ -1,7 +1,7 @@
<?php
// +-----------------------------------------------------------------------+
// | Copyright (c) 2002-2003 Richard Heyes |
-// | All rights reserved. |
+// | Licensed under the GNU GPL |
// | |
// | Redistribution and use in source and binary forms, with or without |
// | modification, are permitted provided that the following conditions |
diff --git a/program/lib/imap.inc b/program/lib/imap.inc
index 53a518bee..9ee476ee1 100644
--- a/program/lib/imap.inc
+++ b/program/lib/imap.inc
@@ -840,7 +840,7 @@ function iil_C_UIDToMID(&$conn, $mailbox, $uid){
function iil_C_FetchUIDs(&$conn,$mailbox){
global $clock;
- $num = iil_C_CountMessages(&$conn, $mailbox);
+ $num = iil_C_CountMessages($conn, $mailbox);
if ($num==0) return array();
$message_set = '1'.($num>1?':'.$num:'');
@@ -1812,7 +1812,7 @@ function iil_C_HandlePartBody(&$conn, $mailbox, $id, $part, $mode){
if ($result){
$result = chop($result);
- return substr($result, 0, strlen($result)-1);
+ return $result; // substr($result, 0, strlen($result)-1);
}else return false;
}else{
echo "Select failed.";