Revision: 2998
          https://sourceforge.net/p/mrbs/code/2998/
Author:   cimorrison
Date:     2015-01-28 17:33:32 +0000 (Wed, 28 Jan 2015)
Log Message:
-----------
Renamed guoteIMAP() to get rid of an upper-case 'I' and so avoid possible 
problems in a Turkish locale

Modified Paths:
--------------
    mrbs/trunk/web/auth/auth_imap.inc

Modified: mrbs/trunk/web/auth/auth_imap.inc
===================================================================
--- mrbs/trunk/web/auth/auth_imap.inc   2015-01-28 17:29:06 UTC (rev 2997)
+++ mrbs/trunk/web/auth/auth_imap.inc   2015-01-28 17:33:32 UTC (rev 2998)
@@ -23,7 +23,7 @@
   $auth['session']='http';
 }
 
-/* quoteIMAP($str)
+/* quote_imap($str)
  *
  * quote char's into valid IMAP string
  *
@@ -32,7 +32,7 @@
  * Returns:
  *   quoted string
  */
-function quoteIMAP($str)
+function quote_imap($str)
 {
   return preg_replace('/(["\\\\])/', '\\$1', $str);
 }
@@ -109,7 +109,7 @@
     if ( $stream )
     {
       $response = fgets( $stream, 1024 );
-      $logon_str = "a001 LOGIN \"" . quoteIMAP( $user ) . "\" \"" . quoteIMAP( 
$pass ) . "\"\r\n";
+      $logon_str = "a001 LOGIN \"" . quote_imap( $user ) . "\" \"" . 
quote_imap( $pass ) . "\"\r\n";
       fputs( $stream, $logon_str );
       $response = fgets( $stream, 1024 );
       if ( substr( $response, 5, 2 ) == 'OK' )
------------------------------------------------------------------------------
Dive into the World of Parallel Programming. The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net/
_______________________________________________
Mrbs-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mrbs-commits

Reply via email to