From: Jelte Jansen Date: Wed, 11 Jan 2006 14:58:09 +0000 (+0000) Subject: mental note: alias svn commit to make lint && svn commit X-Git-Tag: release-1.1.0~433 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c19fa56a79ae8dc7c3fe0b5fcefa832aaaf18f74;p=thirdparty%2Fldns.git mental note: alias svn commit to make lint && svn commit --- diff --git a/examples/ldns-dpa.c b/examples/ldns-dpa.c index 7fe32da8..77c21826 100644 --- a/examples/ldns-dpa.c +++ b/examples/ldns-dpa.c @@ -820,7 +820,7 @@ match_str(type_operator operator, for (i = 0; i < strlen(mvaluedup); i++) { mvaluedup[i] = tolower(mvaluedup[i]); } - result = strstr(valuedup, mvaluedup); + result = strstr(valuedup, mvaluedup) != 0; free(valuedup); free(mvaluedup); return result;