gc: call fscanf() with %<len>s, not %<len>c, when reading hostname