]> git.marmaro.de Git - mmh/blobdiff - uip/mhpath.c
No need to define the month and day names a second time
[mmh] / uip / mhpath.c
index c400fa6dfef22f1c2eab493480c5f20f33058f59..0fe638cd7eec06e24a3e3a140b3d90c897ae69bb 100644 (file)
@@ -64,7 +64,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);
@@ -105,7 +105,7 @@ main(int argc, char **argv)
        }
        /*
        ** TODO: As folder_realloc() checks itself if the realloc
-       ** really is necesary, why don't we then:
+       ** really is necessary, why don't we then:
        **    if (!(mp = folder_realloc (mp, 1, mp->hghmsg+1)))
        **        adios (NULL, "unable to allocate folder storage");
        ** ? This at least appears most clear to me. -- meillo