Minor bugfix client.c