aboutsummaryrefslogtreecommitdiffstats
path: root/packet-dcerpc-mapi.c
diff options
context:
space:
mode:
authorRonnie Sahlberg <ronnie_sahlberg@ozemail.com.au>2002-05-25 11:26:30 +0000
committerRonnie Sahlberg <ronnie_sahlberg@ozemail.com.au>2002-05-25 11:26:30 +0000
commit762981c66a6b8f3252e191c4487a7333fb6266b4 (patch)
tree57aea086a1aecc6ea8dcb28586bab8435582060b /packet-dcerpc-mapi.c
parentd46b0ee96d92ada2ef4eb449ed08333893e0b249 (diff)
Fix for bug when displaying selected item in hexpanel. 2 bytes too many were
highlited. svn path=/trunk/; revision=5562
Diffstat (limited to 'packet-dcerpc-mapi.c')
-rw-r--r--packet-dcerpc-mapi.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/packet-dcerpc-mapi.c b/packet-dcerpc-mapi.c
index ebfc66ee63..156d8b2c95 100644
--- a/packet-dcerpc-mapi.c
+++ b/packet-dcerpc-mapi.c
@@ -2,7 +2,7 @@
* Routines for MS Exchange MAPI
* Copyright 2002, Ronnie Sahlberg
*
- * $Id: packet-dcerpc-mapi.c,v 1.6 2002/05/25 10:25:27 guy Exp $
+ * $Id: packet-dcerpc-mapi.c,v 1.7 2002/05/25 11:26:30 sahlberg Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@ethereal.com>
@@ -216,7 +216,7 @@ mapi_decrypt_pdu(tvbuff_t *tvb, int offset,
proto_tree_add_uint(tr, hf_mapi_pdu_len, mmd->tvb, 0, 2, pdu_len);
/*XXX call dissector here */
- proto_tree_add_item(tr, hf_mapi_decrypted_data, mmd->tvb, 2, pdu_len, FALSE);
+ proto_tree_add_item(tr, hf_mapi_decrypted_data, mmd->tvb, 2, pdu_len-2, FALSE);
proto_tree_add_item(tr, hf_mapi_pdu_trailer, mmd->tvb, pdu_len, 4, FALSE);
if(len>((guint32)pdu_len+4)){