80a818b6fd
- Fixes "[abrt] bogofilter: yyrealloc(): bogofilter killed by SIGABRT" (#1246282) - Fixes "why libdb4" (#1367329) by switching BR to libdb-devel (from db4-devel)
20 lines
683 B
Plaintext
20 lines
683 B
Plaintext
Index: bogofilter/src/maint.c
|
|
===================================================================
|
|
--- bogofilter/src/maint.c (revision 7031)
|
|
+++ bogofilter/src/maint.c (revision 7032)
|
|
@@ -118,11 +118,11 @@
|
|
bool discard;
|
|
|
|
if (token->u.text[0] == '.') { /* keep .ENCODING, .MSG_COUNT, and .ROBX */
|
|
- if (strcmp((const char *)token->u.text, MSG_COUNT) == 0)
|
|
+ if (0 == word_cmps(token, MSG_COUNT))
|
|
return false;
|
|
- if (strcmp((const char *)token->u.text, ROBX_W) == 0)
|
|
+ if (0 == word_cmps(token, ROBX_W))
|
|
return false;
|
|
- if (strcmp((const char *)token->u.text, WORDLIST_ENCODING) == 0)
|
|
+ if (0 == word_cmps(token, WORDLIST_ENCODING))
|
|
return false;
|
|
}
|
|
|