alecpl
2008-10-09 7ae46f2b1dd87a0bdc046e1a0d12fbf3ca141c14
program/lib/imap.inc
@@ -67,6 +67,7 @@
      - remove 'undisclosed-recipients' string from 'To' header
      - iil_C_HandlePartBody(): added 6th argument and fixed endless loop
      - added iil_PutLineC() 
      - fixed iil_C_Sort() to support very long and/or divided responses
********************************************************/
@@ -913,6 +914,8 @@
      $line = chop(iil_ReadLine($fp, 1024));
      if (iil_StartsWith($line, '* SORT')) {
         $data .= ($data?' ':'') . substr($line, 7);
          } else if (preg_match('/^[0-9 ]+$/', $line)) {
         $data .= $line;
          }
   } while ($line[0]!='s');