X-Git-Url: http://git.marmaro.de/?a=blobdiff_plain;f=uip%2Fpackf.c;h=fe1102c66338af9767b58f1bc127998eba2fcc62;hb=ca984be73bdba8c9e807aa56be6403a7b790ed21;hp=c81db88d0d1793d19ed3e193f808ffd1742de584;hpb=cf1205b5cbea2f0cd6ea710ec16c637df85b647c;p=mmh diff --git a/uip/packf.c b/uip/packf.c index c81db88..fe1102c 100644 --- a/uip/packf.c +++ b/uip/packf.c @@ -23,6 +23,7 @@ static struct swit switches[] = { { NULL, 0 } }; +char *version=VERSION; int main(int argc, char **argv) @@ -66,7 +67,7 @@ main(int argc, char **argv) if (*cp == '+' || *cp == '@') { if (folder) adios(EX_USAGE, NULL, "only one folder at a time!"); - folder = getcpy(expandfol(cp)); + folder = mh_xstrdup(expandfol(cp)); } else app_msgarg(&msgs, cp); }