Rewrote sqimap_fread to make it work on PHP 4.3.2.
authorstekkel <stekkel@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Wed, 24 Sep 2003 20:53:06 +0000 (20:53 +0000)
committerstekkel <stekkel@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Wed, 24 Sep 2003 20:53:06 +0000 (20:53 +0000)
commit977a60854bf9271a68e8a9c8dc922c2a5b9e9175
tree451cd0a1dd2c01c5fb2784edec05483f679b493d
parenta2a7ac04870a115c8b4ba3175f622e29a8d46eb2
Rewrote sqimap_fread to make it work on PHP 4.3.2.
The fread behaviour was changed with as result that fread didn't return
when the requested buffersize was full but at a earlier stage, at the end of
a tcp packet.
From now on fread stops on: EOF, full buffer and in case of sockets at end
of packet if the imap server isn't providing the requested data quick
enough.

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@5771 7612ce4b-ef26-0410-bec9-ea0150e637f0
functions/imap_general.php