one last try

to simplify things, use strlcpy with the distance to first space instead...