X-Git-Url: http://git.marmaro.de/?p=mmh;a=blobdiff_plain;f=uip%2Fmark.c;h=72b6d8e03b978f9aaa4073199ded7008059886b8;hp=a6ac480e524ef9730f30282f7b1a0a6063cbb17b;hb=6e9577f324bef90765a5edc02044eb111ec48072;hpb=cf1205b5cbea2f0cd6ea710ec16c637df85b647c diff --git a/uip/mark.c b/uip/mark.c index a6ac480..72b6d8e 100644 --- a/uip/mark.c +++ b/uip/mark.c @@ -40,6 +40,8 @@ static struct swit switches[] = { { NULL, 0 } }; +char *version=VERSION; + /* ** static prototypes */ @@ -137,7 +139,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 { app_msgarg(&msgs, cp);