diff --git a/src/storage/datastorage.c b/src/storage/datastorage.c index e9636e3..220a799 100644 --- a/src/storage/datastorage.c +++ b/src/storage/datastorage.c @@ -547,7 +547,7 @@ client *client_array_delete(client entry) { } } - for (int j = i; j <= client_entry_last; j++) { + for (int j = i; j < client_entry_last; j++) { client_array[j] = client_array[j + 1]; }