summaryrefslogtreecommitdiff
path: root/source4/build
diff options
context:
space:
mode:
Diffstat (limited to 'source4/build')
-rw-r--r--source4/build/pidl/packet-dcerpc-eparser.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source4/build/pidl/packet-dcerpc-eparser.c b/source4/build/pidl/packet-dcerpc-eparser.c
index 9217f3a87e..c1b6e4378c 100644
--- a/source4/build/pidl/packet-dcerpc-eparser.c
+++ b/source4/build/pidl/packet-dcerpc-eparser.c
@@ -579,7 +579,8 @@ proto_tree *get_subtree(proto_tree *tree, char *name, struct e_ndr_pull *ndr,
/* Look for name */
for (l = list; l; l = g_slist_next(l)) {
- info = list->data;
+ info = l->data;
+
if (strcmp(name, info->name) == 0)
return info->subtree;
}