summaryrefslogtreecommitdiff
path: root/program
diff options
context:
space:
mode:
authoralecpl <alec@alec.pl>2010-09-10 09:40:57 +0000
committeralecpl <alec@alec.pl>2010-09-10 09:40:57 +0000
commita5c56b3b21c45838d184c454883d46aeb751fda2 (patch)
treeaf7869782f0381d96bd4138877dffc3dd186b185 /program
parentfa791286f474d27035b7a677dba6f3fce729916b (diff)
- Return false from putLineC instead of NULL, for consistence
Diffstat (limited to 'program')
-rw-r--r--program/include/rcube_imap_generic.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/program/include/rcube_imap_generic.php b/program/include/rcube_imap_generic.php
index 0c69c2320..a70cbaa67 100644
--- a/program/include/rcube_imap_generic.php
+++ b/program/include/rcube_imap_generic.php
@@ -135,7 +135,7 @@ class rcube_imap_generic
private function putLineC($string, $endln=true)
{
if (!$this->fp)
- return NULL;
+ return false;
if ($endln)
$string .= "\r\n";