]> git.marmaro.de Git - mmh/blobdiff - sbr/m_convert.c
Removed isprefix() and replaced it with strncmp().
[mmh] / sbr / m_convert.c
index b535fe3a9b20b4e26d13fb02803bea83d3b2f69a..df128d7dd9e9e1c80064e6adb8e6348c5e055ba7 100644 (file)
@@ -354,7 +354,7 @@ attr(struct msgs *mp, char *cp)
        if (!(dp = context_find(nsequence))) {
                dp = seq_neg;  /* use default */
        }
-       if (dp && *dp && isprefix(dp, cp)) {
+       if (*dp && strncmp(cp, dp, strlen(dp))==0) {
                inverted = 1;
                cp += strlen(dp);
        }