Update p2/client.c

Issue #2