From 161c28dffcab78da00b6b80693ef9423c4258248 Mon Sep 17 00:00:00 2001
From: alecpl <alec@alec.pl>
Date: Sat, 05 Sep 2009 08:31:19 -0400
Subject: [PATCH] - Fix wrong headers for IE on servers without $_SERVER['HTTPS'] (#1485926) - Force IE style headers for attachments in non-HTTPS session, 'use_https' option (#1485655)

---
 program/lib/imap.inc |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/program/lib/imap.inc b/program/lib/imap.inc
index e6b3ce1..02c9bd9 100644
--- a/program/lib/imap.inc
+++ b/program/lib/imap.inc
@@ -620,7 +620,7 @@
 	}
 
 	stream_set_timeout($conn->fp, 10);
-	$line = stream_get_line($conn->fp, 8192, "\r\n");
+	$line = stream_get_line($conn->fp, 8192, "\n");
 
 	if ($my_prefs['debug_mode'] && $line)
 		write_log('imap', 'S: '. $line);

--
Gitblit v1.9.1