branch master revised client.c with return 1.