From 5933d98c8cdee9ef4b04eaf680a7d29cb4928cfc Mon Sep 17 00:00:00 2001
From: alecpl <alec@alec.pl>
Date: Mon, 10 May 2010 07:20:52 -0400
Subject: [PATCH] - it_IT update (#1486724)

---
 program/include/rcube_imap_generic.php |   12 ++++++------
 1 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/program/include/rcube_imap_generic.php b/program/include/rcube_imap_generic.php
index 659a613..6ca6c8f 100644
--- a/program/include/rcube_imap_generic.php
+++ b/program/include/rcube_imap_generic.php
@@ -186,8 +186,8 @@
     		$buffer = fgets($this->fp, $size);
 
     		if ($buffer === false) {
-                fclose($this->fp);
-                $this->fp = null;
+            	@fclose($this->fp);
+            	$this->fp = null;
         		break;
     		}
 		    if (!empty($this->prefs['debug_mode'])) {
@@ -263,7 +263,7 @@
 		    } else if ($res == 'BAD') {
 			    return -2;
 		    } else if ($res == 'BYE') {
-                fclose($this->fp);
+                @fclose($this->fp);
                 $this->fp = null;
 			    return -3;
 		    }
@@ -286,7 +286,7 @@
 	    }
 	    if ($error && preg_match('/^\* (BYE|BAD) /i', $string, $m)) {
             if (strtoupper($m[1]) == 'BYE') {
-                fclose($this->fp);
+                @fclose($this->fp);
                 $this->fp = null;
             }
 		    return true;
@@ -311,7 +311,7 @@
 	    }
 	    if ($error && preg_match('/^\* (BYE|BAD) /i', $string, $m)) {
             if (strtoupper($m[1]) == 'BYE') {
-                fclose($this->fp);
+                @fclose($this->fp);
                 $this->fp = null;
             }
 		    return true;
@@ -418,7 +418,7 @@
             return $this->fp;
         }
 
-        fclose($this->fp);
+        @fclose($this->fp);
         $this->fp = false;
     
         $this->error    = "Authentication for $user failed (LOGIN): $line";

--
Gitblit v1.9.1