Update client.c

code review (// minsuk: comments)