summaryrefslogtreecommitdiffhomepage
path: root/cli-algo.c
diff options
context:
space:
mode:
Diffstat (limited to 'cli-algo.c')
-rw-r--r--cli-algo.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cli-algo.c b/cli-algo.c
index ec3a1ff..09da41a 100644
--- a/cli-algo.c
+++ b/cli-algo.c
@@ -67,7 +67,7 @@ algo_type * cli_buf_match_algo(buffer* buf, algo_type localalgos[],
remotealgos[count] = &algolist[i+1];
count++;
}
- if (count == MAX_PROPOSED_ALGO) {
+ if (count >= MAX_PROPOSED_ALGO) {
break;
}
}