diff svr-algo.c @ 611:870c63519757

Change comparison to be more paranoid (and perhaps avoid Klocwork false positive). Does not change behaviour.
author Matt Johnston <matt@ucc.asn.au>
date Thu, 07 Apr 2011 11:18:35 +0000
parents 0cfba3034be5
children 3062da90dab8
line wrap: on
line diff
--- a/svr-algo.c	Thu Apr 07 11:14:22 2011 +0000
+++ b/svr-algo.c	Thu Apr 07 11:18:35 2011 +0000
@@ -68,7 +68,7 @@
 			remotealgos[count] = &algolist[i+1];
 			count++;
 		}
-		if (count == MAX_PROPOSED_ALGO) {
+		if (count >= MAX_PROPOSED_ALGO) {
 			break;
 		}
 	}