In sqimap_logout, check if we have a stream to logout to.
authorkink <kink@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Wed, 23 Oct 2002 15:12:13 +0000 (15:12 +0000)
committerkink <kink@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Wed, 23 Oct 2002 15:12:13 +0000 (15:12 +0000)
commit8d936b0c05e90b3dc07a33595f24ddf30cbcc10e
tree39ff6bd435dcafee8c91b1c548135402c6484de9
parent97ffe9633390a5b33b69dd2882abb6c9ab2592b1
In sqimap_logout, check if we have a stream to logout to.
If we don't, logging out is not neccessary.
This prevents an endless loop of fgets when there's no connection anymore.

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