Commit 495da216 by Celine Mercier

Fixes #1

parent 05efb38f
......@@ -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;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment