src/dcf.c
changeset 676 11e95dd60ffc
parent 671 06b30f679531
child 699 c26ea35559f8
--- a/src/dcf.c	Thu Dec 22 13:46:00 2011 +0100
+++ b/src/dcf.c	Sat Jan 21 18:49:54 2012 +0100
@@ -88,7 +88,7 @@
         /* Check if data received match the DCF */
         if(size == d->dcf_size){
             match = 1;
-            while(--size)
+            while(size--)
                 if(buf[size] != d->dcf_data[size])
                     match = 0;
         }