From: mquinson Date: Wed, 17 Mar 2010 10:21:31 +0000 (+0000) Subject: AAAAh. let's try to fix the fix of a fix. Correctly if possible X-Git-Tag: SVN~479 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/60ef872d5e96a7fa7b8ab43162d73517197e1c3c AAAAh. let's try to fix the fix of a fix. Correctly if possible git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@7260 48e7efb5-ca39-0410-a469-dd3cf9ba447f --- diff --git a/src/simix/smx_synchro.c b/src/simix/smx_synchro.c index e80c9cf2f7..7a27b495a1 100644 --- a/src/simix/smx_synchro.c +++ b/src/simix/smx_synchro.c @@ -404,7 +404,7 @@ void SIMIX_sem_release_forever(smx_sem_t sem) { xbt_swag_remove(proc, sem->sleeping); xbt_swag_insert(proc, simix_global->process_to_run); } - sem->capacity == SMX_SEM_NOLIMIT; + sem->capacity = SMX_SEM_NOLIMIT; } /**