Corrected the client file. No more segfault.