X-Git-Url: http://git.marmaro.de/?a=blobdiff_plain;f=sbr%2Fgetfolder.c;h=9a6b18bb55146eb76fed31083b2f0b85f06aa316;hb=240013872c392fe644bd4f79382d9f5314b4ea60;hp=544a144e7c88b74750132bf60bee4ef816edb54c;hpb=6c42153ad9362cc676ea66563bf400d7511b3b68;p=mmh diff --git a/sbr/getfolder.c b/sbr/getfolder.c index 544a144..9a6b18b 100644 --- a/sbr/getfolder.c +++ b/sbr/getfolder.c @@ -1,13 +1,10 @@ - /* - * 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. - */ +** getfolder.c -- get the current or default folder +** +** 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. +*/ #include @@ -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; }