summaryrefslogtreecommitdiff
path: root/file.c
diff options
context:
space:
mode:
authorKovarththanan Rajaratnam <kovarththanan.rajaratnam@gmail.com>2009-08-09 17:33:23 +0000
committerKovarththanan Rajaratnam <kovarththanan.rajaratnam@gmail.com>2009-08-09 17:33:23 +0000
commit3512e485ca7cbea07c193f87f029cf5f6959d864 (patch)
tree41b31c399a92ff8fdd4281ab78884c37e6846e78 /file.c
parentd3174f0d03940b7dce1dcf625002b206b27b92fd (diff)
downloadwireshark-3512e485ca7cbea07c193f87f029cf5f6959d864.tar.gz
Add PNODE_FINFO. We've been using PITEM_FINFO on proto_node's. This works because proto_item is typedefed to proto_node. We shouldn't rely on this since this is an implementation detail.
svn path=/trunk/; revision=29354
Diffstat (limited to 'file.c')
-rw-r--r--file.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/file.c b/file.c
index be6818465d..49e00156fe 100644
--- a/file.c
+++ b/file.c
@@ -2967,7 +2967,7 @@ match_subtree_text(proto_node *node, gpointer data)
const gchar *string = mdata->string;
size_t string_len = mdata->string_len;
capture_file *cf = mdata->cf;
- field_info *fi = PITEM_FINFO(node);
+ field_info *fi = PNODE_FINFO(node);
gchar label_str[ITEM_LABEL_LENGTH];
gchar *label_ptr;
size_t label_len;