Update client.c

This works with the server in development branch.