projects
/
mmh
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
mhmail: Read the context!
[mmh]
/
sbr
/
seq_getnum.c
diff --git
a/sbr/seq_getnum.c
b/sbr/seq_getnum.c
index
34e6049
..
3c3b910
100644
(file)
--- a/
sbr/seq_getnum.c
+++ b/
sbr/seq_getnum.c
@@
-11,12
+11,12
@@
int
-seq_getnum (struct msgs *mp, char *seqname)
+seq_getnum(struct msgs *mp, char *seqname)
{
int i;
for (i = 0; mp->msgattrs[i]; i++)
- if (!strcmp (mp->msgattrs[i], seqname))
+ if (strcmp(mp->msgattrs[i], seqname)==0)
return i;
return -1;