diff options
author | Kovarththanan Rajaratnam <kovarththanan.rajaratnam@gmail.com> | 2009-08-09 17:57:31 +0000 |
---|---|---|
committer | Kovarththanan Rajaratnam <kovarththanan.rajaratnam@gmail.com> | 2009-08-09 17:57:31 +0000 |
commit | 083729e02c44e41943f44dc7efd3bacd75ee62a4 (patch) | |
tree | 250d8074cd60db9a6f6cc1d12ed9ff6d797c859f /epan/expert.c | |
parent | 3512e485ca7cbea07c193f87f029cf5f6959d864 (diff) | |
download | wireshark-083729e02c44e41943f44dc7efd3bacd75ee62a4.tar.gz |
Add PTREE_FINFO and use PITEM_FINFO when possible.
svn path=/trunk/; revision=29355
Diffstat (limited to 'epan/expert.c')
-rw-r--r-- | epan/expert.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/expert.c b/epan/expert.c index 240bed7f9e..bd66d8daaf 100644 --- a/epan/expert.c +++ b/epan/expert.c @@ -186,7 +186,7 @@ packet_info *pinfo, proto_item *pi, int group, int severity, const char *format, PROTO_ITEM_SET_GENERATED(ti); /* if we have a proto_item (not a faked item), set expert attributes to it */ - if(pi != NULL && pi->finfo != NULL) { + if(pi != NULL && PITEM_FINFO(pi) != NULL) { ei->pitem = pi; expert_set_item_flags(pi, group, severity); } |