From: Christophe Jaillet Date: Fri, 9 Aug 2019 05:11:53 +0000 (+0000) Subject: Tweak coccinelle search pattern. X-Git-Tag: 2.5.0-alpha2-ci-test-only~1940 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b86d274442d9a759498698b73c2903c599fefeca;p=thirdparty%2Fapache%2Fhttpd.git Tweak coccinelle search pattern. ssl_log_xerror is the only ssl function that takes a 'pool' argument. Remove the function name regex as already done for 'ap_log_cserror' above. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1864758 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/docs/log-message-tags/find-messages.cocci b/docs/log-message-tags/find-messages.cocci index 0bacc689748..436302901d5 100644 --- a/docs/log-message-tags/find-messages.cocci +++ b/docs/log-message-tags/find-messages.cocci @@ -39,10 +39,9 @@ identifier level =~ "^APLOG_(EMERG|ALERT|CRIT|ERR|WARNING|NOTICE|INFO|STARTUP|DE expression rv, p, s, cert; constant char[] fmt !~ "^APLOGNO"; identifier level =~ "^APLOG_(EMERG|ALERT|CRIT|ERR|WARNING|NOTICE|INFO|STARTUP|DEBUG)$"; -identifier fn =~ "^ssl_log_(|r|c)xerror$"; @@ - fn( SSLLOG_MARK , + ssl_log_xerror( SSLLOG_MARK , ( level |