projects
/
apps
/
madmutt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix a compilation error with gdbm
[apps/madmutt.git]
/
nntp
/
nntp.c
diff --git
a/nntp/nntp.c
b/nntp/nntp.c
index
2977f0c
..
7eae011
100644
(file)
--- a/
nntp/nntp.c
+++ b/
nntp/nntp.c
@@
-370,7
+370,7
@@
static int mutt_nntp_fetch (NNTP_DATA * nntp_data, const char *query, char *msg,
m_strcpy(inbuf + lenbuf, sizeof(buf), p);
pos += chunk;
m_strcpy(inbuf + lenbuf, sizeof(buf), p);
pos += chunk;
- if (chunk >= sizeof (buf)) {
+ if (chunk >= s
s
izeof (buf)) {
lenbuf += m_strlen(p);
}
else {
lenbuf += m_strlen(p);
}
else {
@@
-848,18
+848,18
@@
int nntp_open_mailbox (CONTEXT * ctx)
char server[LONG_STRING];
int count = 0;
unsigned int first;
char server[LONG_STRING];
int count = 0;
unsigned int first;
- ACCOUNT ac
c
t;
+ ACCOUNT act;
- p_clear(&ac
c
t, 1);
+ p_clear(&act, 1);
- if (nntp_parse_url (ctx->path, &ac
c
t, buf, sizeof (buf)) < 0 || !*buf) {
+ if (nntp_parse_url (ctx->path, &act, buf, sizeof (buf)) < 0 || !*buf) {
mutt_error (_("%s is an invalid newsgroup specification!"), ctx->path);
mutt_sleep (2);
return -1;
}
server[0] = '\0';
mutt_error (_("%s is an invalid newsgroup specification!"), ctx->path);
mutt_sleep (2);
return -1;
}
server[0] = '\0';
- nntp_expand_path (server, sizeof (server), &ac
c
t);
+ nntp_expand_path (server, sizeof (server), &act);
if (!(serv = mutt_select_newsserver (server)) || serv->status != NNTP_OK)
return -1;
if (!(serv = mutt_select_newsserver (server)) || serv->status != NNTP_OK)
return -1;