int c;
for (c = 0; c < state->entrylen; c++) {
- p_delete(&((state->entry)[c].name));
- p_delete(&((state->entry)[c].desc));
- p_delete(&((state->entry)[c].st));
+ p_delete(&state->entry[c].name);
+ p_delete(&state->entry[c].desc);
+ p_delete(&state->entry[c].st);
}
p_delete(&state->folder);
p_delete(&state->entry);
const char *s;
if (folder->ff->imap)
- s = NONULL (folder->ff->desc);
+ s = NONULL(folder->ff->desc);
else
- s = NONULL (folder->ff->name);
+ s = NONULL(folder->ff->name);
snprintf (fn, sizeof (fn), "%s%s", s,
folder->ff->st ? (S_ISLNK (folder->ff->st->st_mode) ? "@" :
case 'F':
if (folder->ff->st != NULL) {
snprintf (permission, sizeof (permission), "%c%c%c%c%c%c%c%c%c%c",
- S_ISDIR (folder->ff->st->
- st_mode) ? 'd' : (S_ISLNK (folder->ff->st->
- st_mode) ? 'l' : '-'),
+ S_ISDIR(folder->ff->st-> st_mode)
+ ? 'd' : (S_ISLNK(folder->ff->st-> st_mode) ? 'l' : '-'),
(folder->ff->st->st_mode & S_IRUSR) != 0 ? 'r' : '-',
(folder->ff->st->st_mode & S_IWUSR) != 0 ? 'w' : '-',
(folder->ff->st->st_mode & S_ISUID) !=
continue;
if (!((regexec (Mask.rx, data->group, 0, NULL, 0) == 0) ^ Mask.not))
continue;
-#ifdef USE_NNTP
add_folder (menu, state, data->group, NULL, data, data->new);
-#else
- add_folder (menu, state, data->group, NULL, data->new);
-#endif
}
sidebar_draw ();
}