From 14779bacf71a5343338051dcb83efda309e23669 Mon Sep 17 00:00:00 2001 From: Samo Penic <samo.penic@gmail.com> Date: Mon, 04 Jul 2016 18:35:03 +0000 Subject: [PATCH] Small addition, not sure if it is necessary --- src/cluster.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/src/cluster.c b/src/cluster.c index 5d05058..11e4859 100644 --- a/src/cluster.c +++ b/src/cluster.c @@ -42,6 +42,7 @@ do{ n--; } while(cstlist->cluster[n]==NULL && n>i); + if(i<=n) break; cstlist->cluster[i]=cstlist->cluster[n]; cstlist->cluster[n]=NULL; } -- Gitblit v1.9.3