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
Revert "Fix segfault when using XBT_... and when process have no name."
[simgrid.git]
/
src
/
simix
/
smx_process.c
diff --git
a/src/simix/smx_process.c
b/src/simix/smx_process.c
index
411bfdf
..
5af0e0b
100644
(file)
--- a/
src/simix/smx_process.c
+++ b/
src/simix/smx_process.c
@@
-473,9
+473,7
@@
const char* SIMIX_process_self_get_name(void) {
const char* SIMIX_process_get_name(smx_process_t process)
{
- if(process->name)
- return process->name;
- return "";
+ return process->name;
}
smx_process_t SIMIX_process_get_by_name(const char* name)