From 7fd6e5f0eff81e5316f60bb78ecf0502a4feeba0 Mon Sep 17 00:00:00 2001 From: Jamie Cameron Date: Tue, 17 Feb 2015 21:51:25 -0800 Subject: [PATCH] Show full IMAP response if line cannot be parsed --- mailboxes/folders-lib.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mailboxes/folders-lib.pl b/mailboxes/folders-lib.pl index 2a3001573..ef608e305 100755 --- a/mailboxes/folders-lib.pl +++ b/mailboxes/folders-lib.pl @@ -2085,7 +2085,7 @@ if ($lline =~ /^(\S+)\s+OK\s*(.*)/) { } else { # Command failed! - return (0, \@rv, $j, $lline =~ /^(\S+)\s+(\S+)\s*(.*)/ ? $3 : undef); + return (0, \@rv, $j, $lline =~ /^(\S+)\s+(\S+)\s*(.*)/ ? $3 : $lline); } }