X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/efa36b8cb2aae4cf57dde5118888ae2d4f78e2cd..9f8418e870a70c264eda1598f2d470e5428c216d:/uip/folder.c?ds=sidebyside diff --git a/uip/folder.c b/uip/folder.c index 4f36ed0e..3f032904 100644 --- a/uip/folder.c +++ b/uip/folder.c @@ -96,8 +96,9 @@ static void readonly_folders (void); * Function for printing error message if folder does not exist with * -nocreate. */ +static void -nonexistant_folder (int status) { +nonexistent_folder (int status) { NMH_UNUSED (status); adios (NULL, "folder %s does not exist", folder); } @@ -359,7 +360,7 @@ main (int argc, char **argv) * Check if folder exists. If not, then see if * we should create it, or just exit. */ - create_folder (m_maildir (folder), fcreat, nonexistant_folder); + create_folder (m_maildir (folder), fcreat, nonexistent_folder); if (get_folder_info (folder, msg) && argfolder) { /* update current folder */ @@ -633,7 +634,7 @@ readonly_folders (void) { int atrlen; char atrcur[BUFSIZ]; - register struct node *np; + struct node *np; snprintf (atrcur, sizeof(atrcur), "atr-%s-", current); atrlen = strlen (atrcur);