Update server.c

Got rid of warnings.