]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
Tweak coccinelle search pattern.
authorChristophe Jaillet <jailletc36@apache.org>
Fri, 9 Aug 2019 05:11:53 +0000 (05:11 +0000)
committerChristophe Jaillet <jailletc36@apache.org>
Fri, 9 Aug 2019 05:11:53 +0000 (05:11 +0000)
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

docs/log-message-tags/find-messages.cocci

index 0bacc689748bae2faaf9d21bd0b80d9cea89efdd..436302901d5ead15b83f9ef3838cfd0356fff5d3 100644 (file)
@@ -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
 |