On 19 February 2013 00:06, Elias Mårtenson <lokedhs at gmail.com> wrote: char lname[MAXLOGNAME + 1], buf[1024]; > Oops. Here I am, replying to myself. The above is a typo. That's by modified code. In the original source, buf is 128 bytes in size. Regards, Elias