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
Check the length of the description of the unit used in its summary. If the descripti...
[simgrid.git]
/
tools
/
tesh2
/
src
/
unit.c
diff --git
a/tools/tesh2/src/unit.c
b/tools/tesh2/src/unit.c
index
23985df
..
a3c5f18
100644
(file)
--- a/
tools/tesh2/src/unit.c
+++ b/
tools/tesh2/src/unit.c
@@
-536,7
+536,7
@@
unit_summuarize(unit_t unit)
return -1;
\r
}
\r
\r
return -1;
\r
}
\r
\r
- if(
unit->description
)
\r
+ if(
(unit->description) && strlen(unit->description) < 78
)
\r
strcpy(title, unit->description);
\r
else
\r
sprintf(title, "file : %s",unit->fstream->name);
\r
strcpy(title, unit->description);
\r
else
\r
sprintf(title, "file : %s",unit->fstream->name);
\r