[Svn] r3725 - trunk/roundcubemail/program/include

trac at roundcube.net trac at roundcube.net
Mon Jun 7 12:03:59 CEST 2010


Author: alec
Date: 2010-06-07 05:03:59 -0500 (Mon, 07 Jun 2010)
New Revision: 3725

Modified:
   trunk/roundcubemail/program/include/rcube_imap_generic.php
Log:
- fix for initial capability response


Modified: trunk/roundcubemail/program/include/rcube_imap_generic.php
===================================================================
--- trunk/roundcubemail/program/include/rcube_imap_generic.php	2010-06-07 09:49:19 UTC (rev 3724)
+++ trunk/roundcubemail/program/include/rcube_imap_generic.php	2010-06-07 10:03:59 UTC (rev 3725)
@@ -645,6 +645,7 @@
 	    // RFC3501 [7.1] optional CAPABILITY response
 	    if (preg_match('/\[CAPABILITY ([^]]+)\]/i', $line, $matches)) {
 		    $this->capability = explode(' ', strtoupper($matches[1]));
+		    $this->capability_readed = true;
 	    }
 
 	    $this->message .= $line;
@@ -716,6 +717,7 @@
             }
 		    $this->getNamespace();
             $this->logged = true;
+
 		    return true;
 	    } else {
 		    return false;

_______________________________________________
http://lists.roundcube.net/mailman/listinfo/svn



More information about the Svn mailing list