X-Git-Url: http://git.marmaro.de/?a=blobdiff_plain;f=sbr%2Fgetfolder.c;h=11e2b212298c109ea14973d86bd96e6dba467e6b;hb=b067ff5c465a5d243ce5a19e562085a9a1a97215;hp=544a144e7c88b74750132bf60bee4ef816edb54c;hpb=6c42153ad9362cc676ea66563bf400d7511b3b68;p=mmh diff --git a/sbr/getfolder.c b/sbr/getfolder.c index 544a144..11e2b21 100644 --- a/sbr/getfolder.c +++ b/sbr/getfolder.c @@ -1,9 +1,6 @@ - /* * getfolder.c -- get the current or default folder * - * $Id$ - * * This code is Copyright (c) 2002, by the authors of nmh. See the * COPYRIGHT file in the root directory of the nmh distribution for * complete copyright information. @@ -15,22 +12,22 @@ char * getfolder(int wantcurrent) { - register char *folder; + register char *folder; - /* - * If wantcurrent == 1, then try the current folder first - */ - if (wantcurrent && (folder = context_find (pfolder)) && *folder != '\0') - return folder; + /* + * If wantcurrent == 1, then try the current folder first + */ + if (wantcurrent && (folder = context_find (pfolder)) && *folder != '\0') + return folder; - /* - * Else try the Inbox profile entry - */ - if ((folder = context_find (inbox)) && *folder != '\0') - return folder; + /* + * Else try the Inbox profile entry + */ + if ((folder = context_find (inbox)) && *folder != '\0') + return folder; - /* - * Else return compile time default. - */ - return defaultfolder; + /* + * Else return compile time default. + */ + return defaultfolder; }