about summary refs log tree commit diff stats
path: root/commands/account
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/account
parent7f434850b51c4f47ad2d43d556baf4c91e5e85ca (diff)
downloadaerc-1894a7e91bd211f6a2bb7a61278b7822e71b824b.tar.gz
Fix infinite recursion in reply.go:findPlaintext
Diffstat (limited to 'commands/account')
-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
 			}
 		}
='n143' href='#n143'>143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251