about summary refs log tree commit diff
path: root/mshow.c
diff options
context:
space:
mode:
authorLeah Neukirchen <leah@vuxu.org>2017-10-06 13:16:30 +0200
committerLeah Neukirchen <leah@vuxu.org>2017-10-06 13:16:30 +0200
commit88bde0af33256b4773dc1e5113f42785b9d0637a (patch)
tree502919476928a46c9c2a9f70959ddbbe5f4ee03c /mshow.c
parent1748c0f52a5ba5b451d74c6feefefb404cb4d9d6 (diff)
downloadmblaze-88bde0af33256b4773dc1e5113f42785b9d0637a.tar.gz
mblaze-88bde0af33256b4773dc1e5113f42785b9d0637a.tar.xz
mblaze-88bde0af33256b4773dc1e5113f42785b9d0637a.zip
mshow: render_mime: fix logic bug
Diffstat (limited to 'mshow.c')
-rw-r--r--mshow.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mshow.c b/mshow.c
index 5f24d75..db548d7 100644
--- a/mshow.c
+++ b/mshow.c
@@ -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');
 			}