Scanf corrected in client