X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/4ea717b986c4b0ce9ccd01687c7b50bd2ab227ca..38de48ccf6bcdac1212d541fa33d7a1f3490484f:/uip/mhstoresbr.c diff --git a/uip/mhstoresbr.c b/uip/mhstoresbr.c index fab16800..9efc732c 100644 --- a/uip/mhstoresbr.c +++ b/uip/mhstoresbr.c @@ -607,7 +607,13 @@ store_content (CT ct, CT p) if ((ct->c_storage = clobber_check (add (buffer, NULL))) == NULL) { return NOTOK; } - } /* else output filename was explicitly specified, so use it */ + } else { + /* The output filename was explicitly specified, so use it. */ + if ((ct->c_storage = clobber_check (add (ct->c_storage, NULL))) == + NULL) { + return NOTOK; + } + } got_filename: /* flush the output stream */