X-Git-Url: http://git.marmaro.de/?a=blobdiff_plain;f=uip%2Fflist.c;h=a79c842080801b9c34fdac207cdab76e722f35aa;hb=08baf4f8bc7623c41a9753c71aed9a4042196aac;hp=bced89fd26b99d0f9803b0be86319a72a0e6b5c4;hpb=38efa847bbbb0f0bfaca90d7665bfe21de725f99;p=mmh diff --git a/uip/flist.c b/uip/flist.c index bced89f..a79c842 100644 --- a/uip/flist.c +++ b/uip/flist.c @@ -58,7 +58,7 @@ static struct swit switches[] = { #define VERSIONSW 13 { "version", 0 }, #define HELPSW 14 - { "help", 4 }, + { "help", 0 }, { NULL, 0 } }; @@ -278,7 +278,7 @@ main(int argc, char **argv) ScanFolders(); qsort(folders, nFolders, sizeof(struct Folder), (qsort_comp) CompareFolders); PrintFolders(); - done (0); + return done (0); } /* @@ -697,10 +697,6 @@ do_readonly_folders (void) char atrcur[BUFSIZ]; register struct node *np; - /* sanity check - check that context has been read */ - if (defpath == NULL) - adios (NULL, "oops, context hasn't been read yet"); - snprintf (atrcur, sizeof(atrcur), "atr-%s-", current); atrlen = strlen (atrcur);