Update threaded-server.c

initialize the 3rd argument to accept and fix variable size print formats