aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--packet-quake2.c4
-rw-r--r--packet-quakeworld.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/packet-quake2.c b/packet-quake2.c
index 0b5f43b9ee..fc7b602f6d 100644
--- a/packet-quake2.c
+++ b/packet-quake2.c
@@ -7,7 +7,7 @@
* http://www.dgs.monash.edu.au/~timf/bottim/
* http://www.opt-sci.Arizona.EDU/Pandora/default.asp
*
- * $Id: packet-quake2.c,v 1.1 2001/06/21 15:15:57 girlich Exp $
+ * $Id: packet-quake2.c,v 1.2 2001/07/22 18:52:38 girlich Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@zing.org>
@@ -101,7 +101,7 @@ dissect_quake2_ConnectionlessPacket(tvbuff_t *tvb, packet_info *pinfo,
maxbufsize = MIN((gint)sizeof(text), tvb_length_remaining(tvb, offset));
len = tvb_get_nstringz0(tvb, offset, maxbufsize, text);
- if (tree) {
+ if (cl_tree) {
proto_tree_add_string(cl_tree, hf_quake2_connectionless_text,
tvb, offset, len + 1, text);
}
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) {