summary refs log tree commit diff stats
path: root/commands
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2019-06-02 09:36:21 -0400
committerDrew DeVault <sir@cmpwn.com>2019-06-02 09:36:21 -0400
commit1894a7e91bd211f6a2bb7a61278b7822e71b824b (patch)
tree512be0685844122e7671f5178c3b16419d97ccf7 /commands
parent7f434850b51c4f47ad2d43d556baf4c91e5e85ca (diff)
downloadaerc-1894a7e91bd211f6a2bb7a61278b7822e71b824b.tar.gz
Fix infinite recursion in reply.go:findPlaintext
Diffstat (limited to 'commands')
-rw-r--r--commands/account/reply.go2
1 files changed, 1 insertions, 1 deletions
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
 			}
 		}