Updated client.c to make the last 5 lines more readable.