From e383ad9b18d2c5d9b2b086ae9671678de34ef579 Mon Sep 17 00:00:00 2001 From: Chris Maynard Date: Mon, 9 Dec 2013 20:51:32 +0000 Subject: From packet-ua, pass a pointer to direction rather than direction itself. In packet-ua3g, reject the packet if data is NULL. svn path=/trunk/; revision=53887 --- epan/dissectors/packet-ua.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'epan/dissectors/packet-ua.c') diff --git a/epan/dissectors/packet-ua.c b/epan/dissectors/packet-ua.c index 1eefac4987..5e9ad29733 100644 --- a/epan/dissectors/packet-ua.c +++ b/epan/dissectors/packet-ua.c @@ -143,7 +143,7 @@ static void uadecode(e_ua_direction direction, call_dissector_with_data(ua3g_handle, tvb_new_subset(tvb, offset, length, length), pinfo, - tree, (void*)direction); + tree, &direction); break; } default: -- cgit v1.2.3