stop crashing server when client disconnects

This commit is contained in:
socec 2014-03-09 18:48:04 +01:00
parent 98333194db
commit 199d2cb6c2
3 changed files with 19 additions and 2 deletions

View file

@ -1,6 +1,7 @@
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
#include <fcntl.h>
#include <string.h>
#include <errno.h>
#include <sys/types.h>