From: alegrand Date: Tue, 2 Feb 2010 23:17:57 +0000 (+0000) Subject: It's the least I can do in a cancel function... X-Git-Tag: SVN~684 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/186fc80124c48924463bcbc8cd3f64a49b5e3c07 It's the least I can do in a cancel function... git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@7049 48e7efb5-ca39-0410-a469-dd3cf9ba447f --- diff --git a/src/surf/network.c b/src/surf/network.c index 384734d90a..ecd6d4e6d3 100644 --- a/src/surf/network.c +++ b/src/surf/network.c @@ -181,6 +181,8 @@ static int net_action_unref(surf_action_t action) static void net_action_cancel(surf_action_t action) { + surf_network_model->action_state_set((surf_action_t) action, + SURF_ACTION_FAILED); return; }