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
Messages which the payload datatype descriptor is NULL contain 0 bytes as payload...
[simgrid.git]
/
src
/
gras
/
DataDesc
/
datadesc.c
diff --git
a/src/gras/DataDesc/datadesc.c
b/src/gras/DataDesc/datadesc.c
index
fca00c4
..
004436f
100644
(file)
--- a/
src/gras/DataDesc/datadesc.c
+++ b/
src/gras/DataDesc/datadesc.c
@@
-144,7
+144,7
@@
gras_datadesc_get_id(gras_datadesc_type_t ddt) {
*
*/
int gras_datadesc_size(gras_datadesc_type_t type) {
- return type
->size[GRAS_THISARCH]
;
+ return type
?type->size[GRAS_THISARCH]:0
;
}
/**