X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/2c5c74d8aff556e5cd7bc10c9d555a0b2a026ed7..d60c3eab53ca38c4f3bd88b0cc5fda86a527514f:/uip/mhshowsbr.c diff --git a/uip/mhshowsbr.c b/uip/mhshowsbr.c index a90a3ae8..2ef4734a 100644 --- a/uip/mhshowsbr.c +++ b/uip/mhshowsbr.c @@ -1176,11 +1176,10 @@ iconv_start: inform("convert_charset: errno = %d", errno); status = NOTOK; break; - } else { - if (write (fd, dest_buffer, outbytes_before - outbytes) - < 0) { - advise (dest, "write"); - } + } + + if (write (fd, dest_buffer, outbytes_before - outbytes) < 0) { + advise (dest, "write"); } }