From eabc2883bac9ab431886da6f155d64f20d9618b4 Mon Sep 17 00:00:00 2001 From: mattphillips Date: Tue, 1 Aug 2000 12:46:40 +0000 Subject: [PATCH] Fixed a few places we weren't closing the IMAP connection before we exit. git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@666 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- src/folders.php | 1 + src/folders_create.php | 1 + src/read_body.php | 1 + 3 files changed, 3 insertions(+) diff --git a/src/folders.php b/src/folders.php index 2b2566c5..80697f03 100644 --- a/src/folders.php +++ b/src/folders.php @@ -73,6 +73,7 @@ echo ""; echo ""; + sqimap_logout($imapConnection); exit; } diff --git a/src/folders_create.php b/src/folders_create.php index ee58120d..9b200a97 100644 --- a/src/folders_create.php +++ b/src/folders_create.php @@ -30,6 +30,7 @@ if (strpos($folder_name, "\"") || strpos($folder_name, "\\") || strpos($folder_name, "'") || strpos($folder_name, "$dm")) { plain_error_message(_("Illegal folder name. Please select a different name.")."
"._("Click here to go back").".", $color); + sqimap_logout($imapConnection); exit; } diff --git a/src/read_body.php b/src/read_body.php index dd597f5a..197523eb 100644 --- a/src/read_body.php +++ b/src/read_body.php @@ -58,6 +58,7 @@ } echo "\n"; echo ""; + sqimap_logout($imapConnection); exit; } -- 2.25.1