Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Check the length of the description of the unit used in its summary. If the descripti...
[simgrid.git] / tools / tesh2 / src / unit.c
index 23985df..a3c5f18 100644 (file)
@@ -536,7 +536,7 @@ unit_summuarize(unit_t unit)
         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