aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors
diff options
context:
space:
mode:
authoretxrab <etxrab@f5534014-38df-0310-8fa8-9805f1628bb7>2011-11-19 16:24:19 +0000
committeretxrab <etxrab@f5534014-38df-0310-8fa8-9805f1628bb7>2011-11-19 16:24:19 +0000
commit6ccaa90c88f8adccd54e123dbd6629aba760f801 (patch)
tree0dc660177964da86bc38dd1940c1b4056e73d8f7 /epan/dissectors
parent479875a92187588051ff20408e0b85dd312fc8f4 (diff)
Revert 39946
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@39947 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'epan/dissectors')
-rw-r--r--epan/dissectors/packet-rdp.c9
1 files changed, 4 insertions, 5 deletions
diff --git a/epan/dissectors/packet-rdp.c b/epan/dissectors/packet-rdp.c
index fde231f318..1d68fa1252 100644
--- a/epan/dissectors/packet-rdp.c
+++ b/epan/dissectors/packet-rdp.c
@@ -855,14 +855,13 @@ dissect_rdp_fields(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tr
return offset;
}
-static rdp_field_info_t nyi_fields[] = {
- {hf_rdp_notYetImplemented, 2, NULL, 0, 0, NULL },
- FI_TERMINATOR
- };
-
static int
dissect_rdp_nyi(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, const char *info)
{
+ rdp_field_info_t nyi_fields[] = {
+ {hf_rdp_notYetImplemented, 2, NULL, 0, 0, NULL },
+ FI_TERMINATOR
+ };
nyi_fields[0].fixedLength = tvb_length_remaining(tvb, offset);
offset = dissect_rdp_fields(tvb, offset, pinfo, tree, nyi_fields);