Update server.c

Got rid of warnings.
Merge pull request #3 from TitoThePenguin/patch-3

Update server.c