From: thiery Date: Fri, 10 Dec 2010 14:54:31 +0000 (+0000) Subject: Don't do anything if the category is NULL X-Git-Tag: v3.6_beta2~787 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/0b60a166de514be86232c435bacfaa1da0f841f9 Don't do anything if the category is NULL git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@9136 48e7efb5-ca39-0410-a469-dd3cf9ba447f --- diff --git a/src/simix/smx_user.c b/src/simix/smx_user.c index 7c39d30260..49b044dd63 100644 --- a/src/simix/smx_user.c +++ b/src/simix/smx_user.c @@ -700,6 +700,10 @@ void SIMIX_req_comm_wait(smx_action_t comm, double timeout) */ void SIMIX_req_set_category(smx_action_t action, const char *category) { + if (category == NULL) { + return; + } + smx_req_t req = SIMIX_req_mine(); req->call = REQ_SET_CATEGORY;