X-Git-Url: http://git.marmaro.de/?p=mmh;a=blobdiff_plain;f=uip%2Frcvstore.c;h=33f8f3bcedd3f0bc6ce4720cd52702dba1bdc791;hp=5c7f9d8294982fac8dbfee9b3dec6b049e825a39;hb=6e9577f324bef90765a5edc02044eb111ec48072;hpb=4cc601f996579386ce4f4937b9b72b7b3d891107 diff --git a/uip/rcvstore.c b/uip/rcvstore.c index 5c7f9d8..33f8f3b 100644 --- a/uip/rcvstore.c +++ b/uip/rcvstore.c @@ -7,6 +7,7 @@ */ #include +#include #include #include #include @@ -42,6 +43,7 @@ static struct swit switches[] = { { NULL, 0 } }; +char *version=VERSION; /* ** name of temporary file to store incoming message @@ -139,7 +141,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);