A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix dereference of a null pointer.
[simgrid.git]
/
src
/
msg
/
msg_gos.c
diff --git
a/src/msg/msg_gos.c
b/src/msg/msg_gos.c
index
b80ae0f
..
dbf0eac
100644
(file)
--- a/
src/msg/msg_gos.c
+++ b/
src/msg/msg_gos.c
@@
-430,12
+430,10
@@
msg_comm_t MSG_task_isend_internal(msg_task_t task, const char *alias,
}
#ifdef HAVE_TRACING
}
#ifdef HAVE_TRACING
- if (TRACE_is_enabled()) {
- simcall_set_category(comm->s_comm, task->category);
- }
-#endif
+ if (TRACE_is_enabled()) {
+ simcall_set_category(act, task->category);
+ }
-#ifdef HAVE_TRACING
if (call_end)
TRACE_msg_task_put_end();
#endif
if (call_end)
TRACE_msg_task_put_end();
#endif