aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/asn1/packet-asn1.c
diff options
context:
space:
mode:
authorEvan Huus <eapache@gmail.com>2013-02-09 14:15:11 +0000
committerEvan Huus <eapache@gmail.com>2013-02-09 14:15:11 +0000
commitf07a2b108021025c05cc7f4a8d12fc4972e96116 (patch)
tree609dcc336edebc641431d285e517af0714fe3d98 /plugins/asn1/packet-asn1.c
parent89d226b7334a113e1b6ec8c9283d09bc855e3a14 (diff)
Get rid of a '- i' that appears to have been accidentally inserted in r47581.
i is definitely not initialized at that point (GCC was complaining), and there seems to be no need to subtract anything from the value in question in the first place. svn path=/trunk/; revision=47582
Diffstat (limited to 'plugins/asn1/packet-asn1.c')
-rw-r--r--plugins/asn1/packet-asn1.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/asn1/packet-asn1.c b/plugins/asn1/packet-asn1.c
index a0bf59b559..d27411afaa 100644
--- a/plugins/asn1/packet-asn1.c
+++ b/plugins/asn1/packet-asn1.c
@@ -4471,7 +4471,7 @@ showstack(statestack *pos, char *txt, int n)
if (typef & TBL_SEQUENCE_choice)sch = "[seq-chs]";
if (typef & TBL_CONSTRUCTED) con = "[constr]";
- i = g_snprintf(buf, sizeof(buf) - i, "%s sp=%d,pos=%p,%s%s%s%s%s%s%s%s%s%s:%s,%d", txt, PDUstatec,
+ i = g_snprintf(buf, sizeof(buf), "%s sp=%d,pos=%p,%s%s%s%s%s%s%s%s%s%s:%s,%d", txt, PDUstatec,
(void *)pos->node, stype, rep, chs, done, ref, pop, chr, rch, sch, con,
pos->name, pos->offset);