diff options
author | guy <guy@f5534014-38df-0310-8fa8-9805f1628bb7> | 2003-01-11 08:22:39 +0000 |
---|---|---|
committer | guy <guy@f5534014-38df-0310-8fa8-9805f1628bb7> | 2003-01-11 08:22:39 +0000 |
commit | 618a08ec2f17023a4c456bf9e4e5dfb452171171 (patch) | |
tree | b3c1c4db3165c40d4e33df4af80f520ad50a5d54 /packet-dcerpc-samr.c | |
parent | 82f732be2a26a495097682af9afbf310bdf89714 (diff) |
Put Unicode strings into the protocol tree with the appropriate protocol
tree item, not with hf_nt_str. Get rid of hf_nt_str, as it's no longer
used.
Put ASCII strings into the protocol tree only once.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@6910 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'packet-dcerpc-samr.c')
-rw-r--r-- | packet-dcerpc-samr.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/packet-dcerpc-samr.c b/packet-dcerpc-samr.c index 29204698aa..61ecb73617 100644 --- a/packet-dcerpc-samr.c +++ b/packet-dcerpc-samr.c @@ -3,7 +3,7 @@ * Copyright 2001, Tim Potter <tpot@samba.org> * 2002 Added all command dissectors Ronnie Sahlberg * - * $Id: packet-dcerpc-samr.c,v 1.65 2003/01/11 07:48:22 guy Exp $ + * $Id: packet-dcerpc-samr.c,v 1.66 2003/01/11 08:22:39 guy Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs <gerald@ethereal.com> @@ -129,7 +129,6 @@ static int hf_samr_unknown_string = -1; static int hf_samr_unknown_time = -1; /* these are used by functions in packet-dcerpc-nt.c */ -int hf_nt_str = -1; int hf_nt_str_len = -1; int hf_nt_str_off = -1; int hf_nt_str_max_len = -1; @@ -5202,10 +5201,6 @@ proto_register_dcerpc_samr(void) { "Size", "nt.string.size", FT_UINT16, BASE_DEC, NULL, 0x0, "Size of string in bytes", HFILL }}, - { &hf_nt_str, - { "String", "nt.str", FT_STRING, BASE_NONE, - NULL, 0x0, "String data", HFILL }}, - { &hf_nt_str_len, { "Length", "nt.str.len", FT_UINT32, BASE_DEC, NULL, 0x0, "Length of string in short integers", HFILL }}, |