From 9441f09e33850c2a74e00ec909da4522c451abb6 Mon Sep 17 00:00:00 2001 From: "Matteo Nastasi (mop)" Date: Tue, 19 Dec 2006 09:06:36 +0000 Subject: [PATCH] aggiunto qualche unlock per evitare rilasci automatici del semaforo --- web/index_rd.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/web/index_rd.php b/web/index_rd.php index 994fe87..240891b 100644 --- a/web/index_rd.php +++ b/web/index_rd.php @@ -78,8 +78,10 @@ function maincheck($sess, $cur_stat, $cur_subst, $cur_step, &$new_stat, &$new_su } unlock_data($sem); } - else + else { + unlock_data($sem); return (FALSE); + } if (($user = &get_user(&$bri, $sess, $idx)) == FALSE) { return (unrecerror()); @@ -113,6 +115,7 @@ function maincheck($sess, $cur_stat, $cur_subst, $cur_step, &$new_stat, &$new_su } else { log_rd2($sess, "TRANS NON ATTIVATO"); + unlock_data($sem); } } -- 2.17.1