]> git.marmaro.de Git - mmh/blobdiff - uip/rcvstore.c
Fix unreproducible build
[mmh] / uip / rcvstore.c
index 5c7f9d8294982fac8dbfee9b3dec6b049e825a39..83c5150ff51a606824666259e69f9278bd59f947 100644 (file)
@@ -7,6 +7,7 @@
 */
 
 #include <h/mh.h>
+#include <h/utils.h>
 #include <fcntl.h>
 #include <h/signals.h>
 #include <errno.h>
@@ -139,7 +140,7 @@ main(int argc, char **argv)
                        if (folder)
                                adios(EX_USAGE, NULL, "only one folder at a time!");
                        else
-                               folder = getcpy(expandfol(cp));
+                               folder = mh_xstrdup(expandfol(cp));
                } else {
                        adios(EX_USAGE, NULL, "usage: %s [+folder] [switches]",
                                        invo_name);