svn commit: lorikeet r173 - in trunk/ethereal/plugins/pidl: .

tpot at samba.org tpot at samba.org
Sat Jan 8 00:38:15 GMT 2005


Author: tpot
Date: 2005-01-08 00:38:15 +0000 (Sat, 08 Jan 2005)
New Revision: 173

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=lorikeet&rev=173

Log:
Number array entries.

Modified:
   trunk/ethereal/plugins/pidl/eparser.c


Changeset:
Modified: trunk/ethereal/plugins/pidl/eparser.c
===================================================================
--- trunk/ethereal/plugins/pidl/eparser.c	2005-01-05 23:56:35 UTC (rev 172)
+++ trunk/ethereal/plugins/pidl/eparser.c	2005-01-08 00:38:15 UTC (rev 173)
@@ -411,7 +411,7 @@
 	if (!(ndr_flags & NDR_SCALARS)) goto buffers;
 	for (i=0;i<count;i++) {
 		proto_item *item;
-		item = proto_tree_add_text(tree->proto_tree, ndr->tvb, ndr->offset, 0, "Array entry");
+		item = proto_tree_add_text(tree->proto_tree, ndr->tvb, ndr->offset, 0, "Array entry %s", i + 1);
 		subtrees[i].proto_tree = proto_item_add_subtree(item, ett_array);
 
 		if ((ndr_flags & (NDR_SCALARS|NDR_BUFFERS)) == (NDR_SCALARS|NDR_BUFFERS))



More information about the samba-cvs mailing list