mh_xstrdup arguments now const
[mmh] / sbr / seq_getnum.c
index 4605915..3c3b910 100644 (file)
@@ -16,7 +16,7 @@ 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;