Removed the space between function names and the opening parenthesis.
[mmh] / sbr / m_draft.c
index 845fb96..3920315 100644 (file)
@@ -24,19 +24,19 @@ m_draft(char *which)
        char *folder;
 
        cp = draftfolder;
-       folder = path (*cp == '+' || *cp == '@' ? cp + 1 : cp,
+       folder = path(*cp == '+' || *cp == '@' ? cp + 1 : cp,
                        *cp != '@' ? TFOLDER : TSUBCWF);
 
-       chdir (m_maildir (""));
-       strncpy (buffer, m_maildir (folder), sizeof(buffer));
+       chdir(m_maildir(""));
+       strncpy(buffer, m_maildir(folder), sizeof(buffer));
 
-       create_folder (buffer, 0, done);
+       create_folder(buffer, 0, done);
 
-       if (chdir (buffer) == -1)
-               adios (buffer, "unable to change directory to");
+       if (chdir(buffer) == -1)
+               adios(buffer, "unable to change directory to");
 
-       if (!(mp = folder_read (folder)))
-               adios (NULL, "unable to read folder %s", folder);
+       if (!(mp = folder_read(folder)))
+               adios(NULL, "unable to read folder %s", folder);
 
        /*
        ** Make sure we have enough message status space for all
@@ -45,11 +45,11 @@ m_draft(char *which)
        ** end, go ahead and add 10 additional slots.
        */
        if (mp->hghmsg >= mp->hghoff) {
-               if (!(mp = folder_realloc (mp, 1, mp->hghmsg + 10)))
-                       adios (NULL, "unable to allocate folder storage");
+               if (!(mp = folder_realloc(mp, 1, mp->hghmsg + 10)))
+                       adios(NULL, "unable to allocate folder storage");
        } else if (mp->lowoff > 1) {
-               if (!(mp = folder_realloc (mp, 1, mp->hghoff)))
-                       adios (NULL, "unable to allocate folder storage");
+               if (!(mp = folder_realloc(mp, 1, mp->hghoff)))
+                       adios(NULL, "unable to allocate folder storage");
        }
 
        mp->msgflags |= ALLOW_NEW;  /* allow the "new" sequence */
@@ -59,15 +59,15 @@ m_draft(char *which)
        ** Usually it is "cur" (for the current draft) or "new"
        ** (to start a new draft).
        */
-       if (!m_convert (mp, which))
-               done (1);
-       seq_setprev (mp);
+       if (!m_convert(mp, which))
+               done(1);
+       seq_setprev(mp);
 
-       snprintf (buffer, sizeof(buffer), "%s/%s", mp->foldpath,
-                       m_name (mp->lowsel));
-       seq_setcur (mp, mp->lowsel);
-       seq_save (mp);
-       folder_free (mp);
+       snprintf(buffer, sizeof(buffer), "%s/%s", mp->foldpath,
+                       m_name(mp->lowsel));
+       seq_setcur(mp, mp->lowsel);
+       seq_save(mp);
+       folder_free(mp);
 
        return buffer;
 }