aboutsummaryrefslogtreecommitdiff
path: root/slipdec
diff options
context:
space:
mode:
authorMartin Peach <mrpeach@users.sourceforge.net>2010-08-26 20:12:25 +0000
committerMartin Peach <mrpeach@users.sourceforge.net>2010-08-26 20:12:25 +0000
commit3873fa04a49eaf8a240951c12f965fc9a4f891b9 (patch)
tree361b77ff2a9f73a2eb54bddaef41b312e6b8eec4 /slipdec
parent61e74caebf34fb21cf49620151f3fb7c3d94501b (diff)
Removed spurious warning about extra byte.
svn path=/trunk/externals/mrpeach/; revision=13944
Diffstat (limited to 'slipdec')
-rw-r--r--slipdec/slipdec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/slipdec/slipdec.c b/slipdec/slipdec.c
index 5949b84..1a6cad2 100644
--- a/slipdec/slipdec.c
+++ b/slipdec/slipdec.c
@@ -109,7 +109,7 @@ static void slipdec_list(t_slipdec *x, t_symbol *s, int ac, t_atom *av)
x->x_slip_length = x->x_esced = x->x_packet_index = 0;
x->x_valid_SLIP = 1;
/* any remaining data in the list is ignored for now... */
- if (i < ac) post("slipdec_list: dropped %d bytes after packet", ac-i);
+ if (i < ac-1) post("slipdec_list: dropped %d bytes after packet", ac-1-i);
}
}