From a3565489656409ba64656f24953460cdbabf530d Mon Sep 17 00:00:00 2001 From: xdrm-brackets Date: Wed, 26 Apr 2017 23:35:06 +0200 Subject: [PATCH] minfix --- central-manager/lib/local/handler.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/central-manager/lib/local/handler.c b/central-manager/lib/local/handler.c index 2ae56df..41a77e3 100644 --- a/central-manager/lib/local/handler.c +++ b/central-manager/lib/local/handler.c @@ -292,7 +292,7 @@ void* manageViewTerm(void* THREADABLE_ARGS){ count += last; last = sizeof(char); memcpy(buffer+count, &request.n, last); /* 3. Copie des données des avions */ - for( i = 0 ; i < request.n ; i++ ){ + for( i = 0 ; i < nb ; i++ ){ // Ignore les avions offline if( !request.data[i].online )