aboutsummaryrefslogtreecommitdiffstats
path: root/packet-icq.c
diff options
context:
space:
mode:
authorGilbert Ramirez <gram@alumni.rice.edu>2000-03-14 07:12:23 +0000
committerGilbert Ramirez <gram@alumni.rice.edu>2000-03-14 07:12:23 +0000
commit474d3b54a95f77893884d82d2e517855215fa083 (patch)
tree06a3aadeb00f6fb1a98f2b634d1185b52b04c573 /packet-icq.c
parentbdd64cb62b759d6a3118711beb0c0d699499d098 (diff)
Convert two instances of proto_tree_add_uint_format() to
proto_tree_add_protocol_format(). I had converted them incorrectly when I changed them from their original proto_tree_add_item_format(). svn path=/trunk/; revision=1717
Diffstat (limited to 'packet-icq.c')
-rw-r--r--packet-icq.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/packet-icq.c b/packet-icq.c
index b51d16f733..ba18d302ce 100644
--- a/packet-icq.c
+++ b/packet-icq.c
@@ -1,7 +1,7 @@
/* packet-icq.c
* Routines for ICQ packet disassembly
*
- * $Id: packet-icq.c,v 1.12 2000/03/12 04:47:38 gram Exp $
+ * $Id: packet-icq.c,v 1.13 2000/03/14 07:12:23 gram Exp $
*
* Ethereal - Network traffic analyzer
* By Johan Feyaerts
@@ -2020,10 +2020,10 @@ dissect_icqv5Client(const u_char *pd,
}
if (tree) {
- ti = proto_tree_add_uint_format(tree,
+ ti = proto_tree_add_protocol_format(tree,
proto_icq,
offset,
- pktsize, NULL,
+ pktsize,
"ICQv5 %s (len %u)",
findClientCmd(cmd),
pktsize);
@@ -2195,10 +2195,10 @@ dissect_icqv5Server(const u_char *pd,
col_add_fstr(fd, COL_INFO, "ICQv5 %s", findServerCmd(cmd));
if (tree) {
- ti = proto_tree_add_uint_format(tree,
+ ti = proto_tree_add_protocol_format(tree,
proto_icq,
offset,
- pktsize, NULL,
+ pktsize,
"ICQv5 %s (len %u)",
findServerCmd(cmd),
pktsize);