From 1894a7e91bd211f6a2bb7a61278b7822e71b824b Mon Sep 17 00:00:00 2001 From: Drew DeVault Date: Sun, 2 Jun 2019 09:36:21 -0400 Subject: Fix infinite recursion in reply.go:findPlaintext --- commands/account/reply.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'commands/account/reply.go') diff --git a/commands/account/reply.go b/commands/account/reply.go index b0bd346..ecc6239 100644 --- a/commands/account/reply.go +++ b/commands/account/reply.go @@ -243,7 +243,7 @@ func findPlaintext(bs *imap.BodyStructure, return part, cur } if part.MIMEType == "multipart" { - if part, path := findPlaintext(bs, cur); path != nil { + if part, path := findPlaintext(part, cur); path != nil { return part, path } } -- cgit 1.4.1-2-gfad0