projects
/
mmh
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Removed #include of signal.h because it's in h/signals.h.
[mmh]
/
sbr
/
seq_list.c
diff --git
a/sbr/seq_list.c
b/sbr/seq_list.c
index
a6cdbda
..
148ecb9
100644
(file)
--- a/
sbr/seq_list.c
+++ b/
sbr/seq_list.c
@@
-36,7
+36,7
@@
seq_list(struct msgs *mp, char *seqname)
** This is returned, even if message doesn't exist or the
** folder is empty.
*/
** This is returned, even if message doesn't exist or the
** folder is empty.
*/
- if (!strcmp(seq_cur, seqname)) {
+ if (strcmp(seq_cur, seqname)==0) {
if (mp->curmsg) {
sprintf(buffer, "%s", m_name(mp->curmsg));
return (buffer);
if (mp->curmsg) {
sprintf(buffer, "%s", m_name(mp->curmsg));
return (buffer);
@@
-91,8
+91,8
@@
seq_list(struct msgs *mp, char *seqname)
/*
** Scan to the end of this message range
*/
/*
** Scan to the end of this message range
*/
- for (++i; i <= mp->hghmsg && does_exist(mp, i) && in_sequence(mp, seqnum, i);
- ++i)
+ for (++i; i <= mp->hghmsg && does_exist(mp, i) &&
+ in_sequence(mp, seqnum, i); ++i)
;
if (i - j > 1) {
;
if (i - j > 1) {