Tony Mountifield wrote: > The memset should also be removed. Firstly, it will overflow if > strlen(mbox) is less than 2, and secondly, since the buffer is now > exactly the right size, it will be completely filled by the strcpy() > and strcat(). It was just wrong period... fixed now, thanks.