From 0652ee2715994b48a9bbfd1132bf0b65ad206289 Mon Sep 17 00:00:00 2001 From: Samo Penic <samo.penic@gmail.com> Date: Wed, 27 Nov 2013 18:46:13 +0000 Subject: [PATCH] commiting all changes. --- src/vertex.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/vertex.c b/src/vertex.c index 30b294f..cd999df 100644 --- a/src/vertex.c +++ b/src/vertex.c @@ -316,7 +316,7 @@ ts_bool vertex_taint(ts_vertex *vtx, ts_uint level){ ts_uint i; - (*(vtx->locked))++; //lock current vertex + (*(vtx->locked))=1; //lock current vertex if(level==0){ //if we reach last in recursion exit return TS_SUCCESS; } @@ -327,7 +327,7 @@ } ts_bool vertex_untaint(ts_vertex *vtx, ts_uint level){ - (*(vtx->locked))--; + (*(vtx->locked))=0; if(level==0){ return TS_SUCCESS; } -- Gitblit v1.9.3