Fixed invalid assignment in client.c. Fixes #42