mshow: render_mime: fix logic bug

pull/75/head
Leah Neukirchen 7 years ago
parent 1748c0f52a
commit 88bde0af33

@ -225,7 +225,7 @@ render_mime(int depth, struct message *msg, char *body, size_t bodylen)
if (e == 0)
print_ascii(output, outlen);
else
return fwrite(output, 1, outlen, stdout);
fwrite(output, 1, outlen, stdout);
if (output[outlen-1] != '\n')
putchar('\n');
}

Loading…
Cancel
Save