diff options
author | Óscar García Amor | 2023-05-01 11:04:19 +0200 |
---|---|---|
committer | Óscar García Amor | 2023-05-01 11:04:19 +0200 |
commit | 9d1d898d6708bf11ea834f610a0847b180dcb72b (patch) | |
tree | e4226524739d686c216e0548da570526235ce4c9 /alps-fix-156.patch | |
parent | b3aa74bcc63a11f8937a3b823fda6263d5d78ed9 (diff) | |
download | aur-9d1d898d6708bf11ea834f610a0847b180dcb72b.tar.gz |
upgpkg: alps 2023.03.20-1
upstream release
Diffstat (limited to 'alps-fix-156.patch')
-rw-r--r-- | alps-fix-156.patch | 29 |
1 files changed, 0 insertions, 29 deletions
diff --git a/alps-fix-156.patch b/alps-fix-156.patch deleted file mode 100644 index 9172f9847b08..000000000000 --- a/alps-fix-156.patch +++ /dev/null @@ -1,29 +0,0 @@ ---- a/plugins/base/imap.go 2022-05-08 10:19:23.329157653 +0200 -+++ b/plugins/base/imap.go 2022-05-08 10:23:38.878395784 +0200 -@@ -530,14 +530,23 @@ - } - - ch := make(chan *imap.Message, 1) -- if err := conn.UidFetch(seqSet, fetch, ch); err != nil { -- return nil, nil, fmt.Errorf("failed to fetch message: %v", err) -- } -+ done := make(chan error, 1) -+ go func() { -+ done <- conn.UidFetch(seqSet, fetch, ch) -+ }() - -+ // There may be multiple FETCH data responses. -+ // Keep the first message and discard the rest. - msg := <-ch - if msg == nil { - return nil, nil, fmt.Errorf("server didn't return message") - } -+ for range ch { -+ } -+ -+ if err := <-done; err != nil { -+ return nil, nil, fmt.Errorf("failed to fetch message: %v", err) -+ } - - body := msg.GetBody(&partHeaderSection) - if body == nil { |