Author: tpot
Date: 2005-01-17 05:42:19 +0000 (Mon, 17 Jan 2005)
New Revision: 183

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

Log:
Fix stoopid printf format string bug.

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


Changeset:
Modified: trunk/ethereal/plugins/pidl/eparser.c
===================================================================
--- trunk/ethereal/plugins/pidl/eparser.c       2005-01-13 01:04:33 UTC (rev 
182)
+++ trunk/ethereal/plugins/pidl/eparser.c       2005-01-17 05:42:19 UTC (rev 
183)
@@ -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 %s", i + 1);
+               item = proto_tree_add_text(tree->proto_tree, ndr->tvb, 
ndr->offset, 0, "Array entry %d", i + 1);
                subtrees[i].proto_tree = proto_item_add_subtree(item, 
ett_array);
 
                if ((ndr_flags & (NDR_SCALARS|NDR_BUFFERS)) == 
(NDR_SCALARS|NDR_BUFFERS))

Reply via email to