Update client.c

Excess cycle