projects
/
mmh
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Removed isprefix() and replaced it with strncmp().
[mmh]
/
sbr
/
m_convert.c
diff --git
a/sbr/m_convert.c
b/sbr/m_convert.c
index
b535fe3
..
df128d7
100644
(file)
--- a/
sbr/m_convert.c
+++ b/
sbr/m_convert.c
@@
-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);
}