aboutsummaryrefslogtreecommitdiffstats
path: root/packet-x11.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2002-04-12 01:18:47 +0000
committerGuy Harris <guy@alum.mit.edu>2002-04-12 01:18:47 +0000
commitf19587347e26529fbf968881aa2dce24dc1c2365 (patch)
tree17306c9ddbbb7f405bce0ed16563cb313576de32 /packet-x11.c
parent93a728ab4627163f5f24bdc177ac9bcfac9f66b1 (diff)
Bug fix from Didier Gautheron.
svn path=/trunk/; revision=5146
Diffstat (limited to 'packet-x11.c')
-rw-r--r--packet-x11.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/packet-x11.c b/packet-x11.c
index dea349bf53..453a5d9c25 100644
--- a/packet-x11.c
+++ b/packet-x11.c
@@ -2,7 +2,7 @@
* Routines for X11 dissection
* Copyright 2000, Christophe Tronche <ch.tronche@computer.org>
*
- * $Id: packet-x11.c,v 1.32 2002/04/11 09:38:03 guy Exp $
+ * $Id: packet-x11.c,v 1.33 2002/04/12 01:18:45 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@ethereal.com>
@@ -1271,7 +1271,7 @@ static guint32 field8(tvbuff_t *tvb, proto_tree *t, int hf)
static guint32 field16(tvbuff_t *tvb, proto_tree *t, int hf)
{
guint32 v = VALUE16(tvb, cur_offset);
- proto_tree_add_item(t, hf, tvb, cur_offset, 2, v);
+ proto_tree_add_item(t, hf, tvb, cur_offset, 2, little_endian);
cur_offset += 2;
return v;
}