dbox files are always created with DBOX_TEMP_FILE_PREFIX, not the mailbox
list-specific prefix. This was a problem only if dbox was used with
LAYOUT=Maildir++, which nobody was likely to do. Other layouts had
identical temp file prefixes to DBOX_TEMP_FILE_PREFIX.
return stated;
}
- const char *prefix = mailbox_list_get_global_temp_prefix(list);
- (void)unlink_old_files(path, prefix, ioloop_time - DBOX_TMP_DELETE_SECS);
+ (void)unlink_old_files(path, DBOX_TEMP_FILE_PREFIX,
+ ioloop_time - DBOX_TMP_DELETE_SECS);
return TRUE;
}