aboutsummaryrefslogtreecommitdiffstats
path: root/epan/proto.c
diff options
context:
space:
mode:
authorstig <stig@f5534014-38df-0310-8fa8-9805f1628bb7>2009-10-12 08:19:30 +0000
committerstig <stig@f5534014-38df-0310-8fa8-9805f1628bb7>2009-10-12 08:19:30 +0000
commit5c418789768ba2d0cf536111ee6c435e915c5b92 (patch)
tree7b3614e0bb8f2525ec7d03227132ca021c8407e4 /epan/proto.c
parentdf89fcf3650ef39cbf642a8cee2ec2254d2fb1e3 (diff)
Return FALSE from proto_tracking_interesting_fields() when no tree.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@30533 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'epan/proto.c')
-rw-r--r--epan/proto.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/proto.c b/epan/proto.c
index 09c9fd88d6..8bf8a41738 100644
--- a/epan/proto.c
+++ b/epan/proto.c
@@ -5368,7 +5368,7 @@ gboolean
proto_tracking_interesting_fields(proto_tree *tree)
{
if (!tree)
- return NULL;
+ return FALSE;
return (PTREE_DATA(tree)->interesting_hfids != NULL);
}