From 3873fa04a49eaf8a240951c12f965fc9a4f891b9 Mon Sep 17 00:00:00 2001 From: Martin Peach Date: Thu, 26 Aug 2010 20:12:25 +0000 Subject: Removed spurious warning about extra byte. svn path=/trunk/externals/mrpeach/; revision=13944 --- slipdec/slipdec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'slipdec') 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); } } -- cgit v1.2.1