Rearranged whitespace (and comments) in all the code!
[mmh] / sbr / getfolder.c
index 6c6d267..11e2b21 100644 (file)
@@ -1,4 +1,3 @@
-
 /*
  * getfolder.c -- get the current or default folder
  *
 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;
 }