projects
/
mmh
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fixed -mime for forw and repl.
[mmh]
/
sbr
/
seq_add.c
diff --git
a/sbr/seq_add.c
b/sbr/seq_add.c
index
38bbdcf
..
5d0987c
100644
(file)
--- a/
sbr/seq_add.c
+++ b/
sbr/seq_add.c
@@
-33,14
+33,14
@@
seq_addsel(struct msgs *mp, char *cp, int public, int zero)
** We keep mp->curmsg and cur sequence in sync.
** See seq_list() and seq_init().
*/
** We keep mp->curmsg and cur sequence in sync.
** See seq_list() and seq_init().
*/
- if (!strcmp(seq_cur, cp))
+ if (strcmp(seq_cur, cp)==0)
mp->curmsg = mp->hghsel;
/*
** Get the number for this sequence
*/
for (i = 0; mp->msgattrs[i]; i++) {
mp->curmsg = mp->hghsel;
/*
** Get the number for this sequence
*/
for (i = 0; mp->msgattrs[i]; i++) {
- if (!strcmp(mp->msgattrs[i], cp)) {
+ if (strcmp(mp->msgattrs[i], cp)==0) {
new_seq = 0;
break;
}
new_seq = 0;
break;
}
@@
-124,14
+124,14
@@
seq_addmsg(struct msgs *mp, char *cp, int msgnum, int public, int zero)
/*
** keep mp->curmsg and msgattrs[] of seq_cur in sync - see seq_list()
*/
/*
** keep mp->curmsg and msgattrs[] of seq_cur in sync - see seq_list()
*/
- if (!strcmp(seq_cur, cp))
+ if (strcmp(seq_cur, cp)==0)
mp->curmsg = msgnum;
/*
** Get the number for this sequence
*/
for (i = 0; mp->msgattrs[i]; i++) {
mp->curmsg = msgnum;
/*
** Get the number for this sequence
*/
for (i = 0; mp->msgattrs[i]; i++) {
- if (!strcmp(mp->msgattrs[i], cp)) {
+ if (strcmp(mp->msgattrs[i], cp)==0) {
new_seq = 0;
break;
}
new_seq = 0;
break;
}