]> diplodocus.org Git - nmh/blobdiff - uip/mhstoresbr.c
Clean up mhbuild backup files left by test-header-encode.
[nmh] / uip / mhstoresbr.c
index fab168001004c5716260d47304cf04cb042b91a1..9efc732cf848888f7815fa9140e0df894df89662 100644 (file)
@@ -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 */