summaryrefslogtreecommitdiff
path: root/packet-x11.c
diff options
context:
space:
mode:
authorGilbert Ramirez <gram@alumni.rice.edu>2000-06-12 19:19:54 +0000
committerGilbert Ramirez <gram@alumni.rice.edu>2000-06-12 19:19:54 +0000
commit835e8bea103ae6c51511abe84b5c4e0345374688 (patch)
tree8dda4205025f8b4b92b62e2183fd3e0148bde0f2 /packet-x11.c
parent7ca2d277d6ab1f0d4641e3c6f02158942cae2200 (diff)
downloadwireshark-835e8bea103ae6c51511abe84b5c4e0345374688.tar.gz
Initialize 'int next_offset' to 0 instead of NULL.
svn path=/trunk/; revision=2063
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 79e6c56274..bdc087d01f 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.3 2000/06/12 09:32:06 guy Exp $
+ * $Id: packet-x11.c,v 1.4 2000/06/12 19:19:54 gram Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@unicom.net>
@@ -576,7 +576,7 @@ static const value_string zero_is_none_vals[] = {
************************************************************************/
static int cur_offset; /* The current offset in the frame */
-static int next_offset = NULL; /* Offset of the next request in the frame */
+static int next_offset = 0; /* Offset of the next request in the frame */
static tvbuff_t *tvb = NULL;
static gboolean little_endian = TRUE;
static proto_tree *t = NULL;