Re: [Spice-devel] [spicy PATCH 6/7 v4] spicy: Changed duplicit lines to for loop

2015-06-16 Thread Christophe Fergeau
short log: "Replace duplicated code with a for loop" ? ACK. I usually use unsigned int for loop indexes, but this is not really important here. Christophe On Tue, Jun 16, 2015 at 11:41:56AM +0200, Lukas Venhoda wrote: > Changed piece of code working with fixed size array into a for loop. > --- >

[Spice-devel] [spicy PATCH 6/7 v4] spicy: Changed duplicit lines to for loop

2015-06-16 Thread Lukas Venhoda
Changed piece of code working with fixed size array into a for loop. --- Changes since v3 - New patch --- src/spicy-connect.c | 17 ++--- 1 file changed, 6 insertions(+), 11 deletions(-) diff --git a/src/spicy-connect.c b/src/spicy-connect.c index c5f1dfb..7834e3a 100644 --- a/src/sp