Functions in client.c
Minor changes.