X-Git-Url: http://git.marmaro.de/?a=blobdiff_plain;f=sbr%2Fgetfolder.c;h=9a6b18bb55146eb76fed31083b2f0b85f06aa316;hb=71b43c2803ffed08ec727c29d70a0d2de3ffb3f1;hp=11e2b212298c109ea14973d86bd96e6dba467e6b;hpb=a485ed478abbd599d8c9aab48934e7a26733ecb1;p=mmh diff --git a/sbr/getfolder.c b/sbr/getfolder.c index 11e2b21..9a6b18b 100644 --- a/sbr/getfolder.c +++ b/sbr/getfolder.c @@ -1,10 +1,10 @@ /* - * 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. - */ +** 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,19 +15,19 @@ getfolder(int wantcurrent) register char *folder; /* - * If wantcurrent == 1, then try the current folder first - */ - if (wantcurrent && (folder = context_find (pfolder)) && *folder != '\0') + ** 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') + ** Else try the Inbox profile entry + */ + if ((folder = context_find(inbox)) && *folder != '\0') return folder; /* - * Else return compile time default. - */ + ** Else return compile time default. + */ return defaultfolder; }