Revert "Update client.c"

This reverts commit 5f825426f18c370c48579f61a89de556e37c6c6e.
Revert "Revert "Update client.c""

This reverts commit 78e9818d6ce47008a2bccf3862f4c79eec57a893.