projects
/
apps
/
madmutt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
drop the horrible list2_t for good.
[apps/madmutt.git]
/
nntp
/
nntp.c
diff --git
a/nntp/nntp.c
b/nntp/nntp.c
index
a5deac1
..
32f40c6
100644
(file)
--- a/
nntp/nntp.c
+++ b/
nntp/nntp.c
@@
-33,7
+33,7
@@
void nntp_sync_sidebar (NNTP_DATA* data) {
BUFFY* tmp = NULL;
char buf[STRING];
BUFFY* tmp = NULL;
char buf[STRING];
- if (
list_empty (Incoming)
)
+ if (
!Incoming.len
)
return;
/* unfortunately, NNTP_DATA::group only is the plain
return;
/* unfortunately, NNTP_DATA::group only is the plain
@@
-54,7
+54,7
@@
void nntp_sync_sidebar (NNTP_DATA* data) {
if ((i = buffy_lookup (buf)) < 0)
return;
if ((i = buffy_lookup (buf)) < 0)
return;
- tmp =
(BUFFY*) Incoming->data
[i];
+ tmp =
Incoming.arr
[i];
/* copied from browser.c */
if (option (OPTMARKOLD) &&
data->lastCached >= data->firstMessage &&
/* copied from browser.c */
if (option (OPTMARKOLD) &&
data->lastCached >= data->firstMessage &&