Update server.c

untested