This commit is contained in:
Celine Mercier
2017-11-21 13:08:07 +01:00
parent 05efb38fed
commit 495da2165c

View File

@@ -163,6 +163,7 @@ ecotx_t *readnext_ecotaxon(FILE *f,ecotx_t *taxon)
"Allocate taxon scientific name");
strncpy(taxon->name,raw->name,raw->namelength);
(taxon->name)[raw->namelength] = '\0';
return taxon;
}