projects
/
apps
/
madmutt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Deal with $shell from lua from now on.
[apps/madmutt.git]
/
nntp
/
nntp.c
diff --git
a/nntp/nntp.c
b/nntp/nntp.c
index
35a1b1b
..
d5b72f7
100644
(file)
--- a/
nntp/nntp.c
+++ b/
nntp/nntp.c
@@
-233,7
+233,7
@@
static int nntp_open_connection (NNTP_SERVER * serv)
static int nntp_reconnect (NNTP_SERVER * serv)
{
static int nntp_reconnect (NNTP_SERVER * serv)
{
- char buf[S
HORT_S
TRING];
+ char buf[STRING];
mutt_socket_close (serv->conn);
mutt_socket_close (serv->conn);
@@
-503,7
+503,7
@@
static void nntp_get_desc (NNTP_DATA * data, const char *mask, char *msg, progre
if (data->nserv->hasXGTITLE)
snprintf (buf, sizeof (buf), "XGTITLE %s\r\n", mask);
else
if (data->nserv->hasXGTITLE)
snprintf (buf, sizeof (buf), "XGTITLE %s\r\n", mask);
else
- snprintf (buf, sizeof (buf), "
string_list_t
NEWSGROUPS %s\r\n", mask);
+ snprintf (buf, sizeof (buf), "
LIST
NEWSGROUPS %s\r\n", mask);
if (mutt_nntp_fetch (data, buf, msg, bar, parse_description, data->nserv, 0) !=
0) {
}
if (mutt_nntp_fetch (data, buf, msg, bar, parse_description, data->nserv, 0) !=
0) {
}
@@
-1357,7
+1357,7
@@
int nntp_get_cache_all (NNTP_SERVER * serv)
/* Load list of all newsgroups from active */
int nntp_get_active (NNTP_SERVER * serv)
{
/* Load list of all newsgroups from active */
int nntp_get_active (NNTP_SERVER * serv)
{
- char msg[S
HORT_S
TRING];
+ char msg[STRING];
NNTP_DATA nntp_data;
string_list_t *tmp;
NNTP_DATA nntp_data;
string_list_t *tmp;
@@
-1372,7
+1372,7
@@
int nntp_get_active (NNTP_SERVER * serv)
nntp_data.nserv = serv;
nntp_data.group = NULL;
nntp_data.nserv = serv;
nntp_data.group = NULL;
- if (mutt_nntp_fetch (&nntp_data, "
string_list_t
\r\n", msg, NULL, add_group, serv, 0) < 0) {
+ if (mutt_nntp_fetch (&nntp_data, "
LIST
\r\n", msg, NULL, add_group, serv, 0) < 0) {
return -1;
}
return -1;
}