aboutsummaryrefslogtreecommitdiffstats
path: root/packet-quakeworld.c
diff options
context:
space:
mode:
authorUwe Girlich <Uwe.Girlich@philosys.de>2001-07-22 18:52:38 +0000
committerUwe Girlich <Uwe.Girlich@philosys.de>2001-07-22 18:52:38 +0000
commitb9a3653c89b9f80644a4a9ac12740dd324270964 (patch)
treec4fdcfa2c8f390381fafafacec20126c4427b92f /packet-quakeworld.c
parentcc21ec8124253913242f0c748126582f7eba5999 (diff)
Before calling proto_tree_add_string, the correct proto_tree should
be checked and not any upper proto_tree object. svn path=/trunk/; revision=3766
Diffstat (limited to 'packet-quakeworld.c')
-rw-r--r--packet-quakeworld.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/packet-quakeworld.c b/packet-quakeworld.c
index 6e8fc68588..bc9500a9f8 100644
--- a/packet-quakeworld.c
+++ b/packet-quakeworld.c
@@ -4,7 +4,7 @@
* Uwe Girlich <uwe@planetquake.com>
* http://www.idsoftware.com/q1source/q1source.zip
*
- * $Id: packet-quakeworld.c,v 1.3 2001/07/21 19:25:59 girlich Exp $
+ * $Id: packet-quakeworld.c,v 1.4 2001/07/22 18:51:51 girlich Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@zing.org>
@@ -391,7 +391,7 @@ dissect_quakeworld_ConnectionlessPacket(tvbuff_t *tvb, packet_info *pinfo,
len = tvb_get_nstringz0(tvb, offset, maxbufsize, text);
/* actually, we should look for a eol char and stop already there */
- if (tree) {
+ if (cl_tree) {
text_item = proto_tree_add_string(cl_tree, hf_quakeworld_connectionless_text,
tvb, offset, len + 1, text);
if (text_item) {