From: Matteo Nastasi (mop) Date: Tue, 19 Dec 2006 09:06:36 +0000 (+0000) Subject: aggiunto qualche unlock per evitare rilasci automatici del semaforo X-Git-Tag: 3.0.0~419 X-Git-Url: http://mop.ddnsfree.com/gitweb/?a=commitdiff_plain;h=9441f09e33850c2a74e00ec909da4522c451abb6;p=brisk.git aggiunto qualche unlock per evitare rilasci automatici del semaforo --- 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); } }