interactive = defolder;
if (strchr (folder, '/') && (*folder != '/') && (*folder != '.')) {
- for (cp = copy (folder, newfolder); cp > newfolder && *cp != '/'; cp--)
+ for (cp = stpcpy(newfolder, folder); cp > newfolder && *cp != '/'; cp--)
continue;
if (cp > newfolder)
*cp = '\0';
switch (i = chdir (maildir = m_maildir (folder))) {
case OK:
if (access (".", W_OK) != NOTOK && access ("..", W_OK) != NOTOK)
- break; /* fall otherwise */
+ break;
+ /* FALLTHRU */
case NOTOK:
snprintf (cur, sizeof(cur), "atr-%s-%s",
case '.':
if (strcmp (dp->d_name, ".") == 0
|| strcmp (dp->d_name, "..") == 0)
- continue; /* else fall */
+ continue;
+ /* FALLTHRU */
case ',':
break;
if (m_atoi (dp->d_name))
break;
if (strcmp (dp->d_name, LINK) == 0
- || HasPrefix(dp->d_name, BACKUP_PREFIX))
+ || has_prefix(dp->d_name, BACKUP_PREFIX))
break;
admonish (NULL, "file \"%s/%s\" not deleted",