From f882b63d97baba892a811cbc9791f14ba1a2070a Mon Sep 17 00:00:00 2001 From: Michael Mann Date: Wed, 18 Dec 2013 22:10:59 +0000 Subject: Some proto_tree_add_xxx functions have a '_' in the function name so make sure they get counted in the proto_tree_add_text percentage. Makes a few dissectors look a little better. svn path=/trunk/; revision=54236 --- tools/checkAPIs.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tools') diff --git a/tools/checkAPIs.pl b/tools/checkAPIs.pl index 65a95b5015..749f5972c4 100755 --- a/tools/checkAPIs.pl +++ b/tools/checkAPIs.pl @@ -1395,7 +1395,7 @@ sub checkAddTextCalls($$) $okay_add_text_count++; } # Then count how many proto_tree_add_*() calls there are - while (${$fileContentsRef} =~ m/ \W proto_tree_add_[a-z0-9]+ \W* \( /gox) { + while (${$fileContentsRef} =~ m/ \W proto_tree_add_[a-z0-9_]+ \W* \( /gox) { $add_xxx_count++; } -- cgit v1.2.3