nntp_data_t *data;
int l, m, t;
- /* check is server name defined or not */
- if (!news || !news->conn || !news->conn->account.host)
- return -1;
unset_option (OPTNEWSCACHE);
if (m_strisempty(NewsCacheDir))
return 0;
m_strcpy(dir, sizeof(dir), NewsCacheDir);
- mutt_expand_path (dir, sizeof (dir));
+ mutt_expand_path(dir, sizeof(dir));
if (lstat (dir, &st) || (st.st_mode & S_IFDIR) == 0) {
snprintf(buf, sizeof(buf), _("Directory %s not exist. Create it?"), dir);
snprintf (buf, sizeof (buf), "XGTITLE %s\r\n", mask);
else
snprintf (buf, sizeof (buf), "LIST NEWSGROUPS %s\r\n", mask);
- if (mutt_nntp_fetch (data, buf, msg, bar, parse_description, data->nserv, 0) !=
- 0) {
- }
+ mutt_nntp_fetch (data, buf, msg, bar, parse_description, data->nserv, 0);
}
/*