git.samba.org
/
metze
/
wireshark
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
34633f5
)
OK, *this* isn't a possibly-infinite loop.
author
Guy Harris
<guy@alum.mit.edu>
Wed, 26 Dec 2012 06:39:53 +0000
(06:39 -0000)
committer
Guy Harris
<guy@alum.mit.edu>
Wed, 26 Dec 2012 06:39:53 +0000
(06:39 -0000)
svn path=/trunk/; revision=46755
epan/dissectors/packet-acn.c
patch
|
blob
|
history
diff --git
a/epan/dissectors/packet-acn.c
b/epan/dissectors/packet-acn.c
index 9e5263383166362c3094e835b04758f9632e39ef..41740596a079451e5736e28dfb037adc5b9bffff 100644
(file)
--- a/
epan/dissectors/packet-acn.c
+++ b/
epan/dissectors/packet-acn.c
@@
-2068,9
+2068,9
@@
dissect_acn_dmx_data_pdu(guint32 protocol_id, tvbuff_t *tvb, packet_info *pinfo,
g_snprintf(buffer, BUFFER_SIZE, "%-10s: ", "Data...");
buf_ptr += 9;
- for (x=
1; x<=
perline; x++) {
- buf_ptr = ltos((guint8)
x
, buf_ptr, 10, ' ', min_char, FALSE);
- if (
x
==halfline) {
+ for (x=
0; x<
perline; x++) {
+ buf_ptr = ltos((guint8)
(x+1)
, buf_ptr, 10, ' ', min_char, FALSE);
+ if (
(x+1)
==halfline) {
*buf_ptr++ = '|';
*buf_ptr++ = ' ';
}