Fixed sample server.c