/* only count total mail if sidebar visible */
snprintf (path, sizeof (path), "%s/cur", tmp->path);
if ((dirp = opendir (path)) == NULL) {
/* only count total mail if sidebar visible */
snprintf (path, sizeof (path), "%s/cur", tmp->path);
if ((dirp = opendir (path)) == NULL) {