From 1d105b927d1744a819a3f0ab45a4fcde97ca09f1 Mon Sep 17 00:00:00 2001 From: mguessan Date: Thu, 16 Dec 2010 14:21:21 +0000 Subject: [PATCH] IMAP: Fix 3137275 Imap header fetch bug git-svn-id: http://svn.code.sf.net/p/davmail/code/trunk@1581 3d1905a2-6b24-0410-a738-b14d5a86fcbd --- src/java/davmail/imap/ImapConnection.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/java/davmail/imap/ImapConnection.java b/src/java/davmail/imap/ImapConnection.java index cc0d2406..2c55a212 100644 --- a/src/java/davmail/imap/ImapConnection.java +++ b/src/java/davmail/imap/ImapConnection.java @@ -802,7 +802,7 @@ public class ImapConnection extends AbstractConnection { int startIndex = partIndexString.indexOf('('); int endIndex = partIndexString.indexOf(')'); if (startIndex >= 0 && endIndex >= 0) { - return partIndexString.substring(startIndex + 1, endIndex - 1).split(" "); + return partIndexString.substring(startIndex + 1, endIndex).split(" "); } else { return null; }