Update chaine.c

Final commit, all works.