From c129b10bf7c851d94002767aa09e06c526cacb7d Mon Sep 17 00:00:00 2001 From: Uros Majstorovic Date: Wed, 6 Sep 2017 18:19:00 +0200 Subject: frad/defrag implemented --- code/vconn/vconn.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'code/vconn') diff --git a/code/vconn/vconn.c b/code/vconn/vconn.c index 4eebb62..740f400 100644 --- a/code/vconn/vconn.c +++ b/code/vconn/vconn.c @@ -483,6 +483,7 @@ int ecp_vconn_init(ECPConnection *conn, ECPNode *conn_node, ECPVConnection vconn if (rv) return rv; conn->parent = (ECPConnection *)&vconn[size-1]; + conn->pcount = size; for (i=0; i