Nog een poging...

This commit is contained in:
Thulinma 2010-11-07 23:50:20 +01:00
parent b210630fcc
commit 0bfafcda2b

View file

@ -31,11 +31,6 @@ int DDV_Listen(int port){
} }
} }
FILE * DDV_Accept(int sock){ int DDV_Accept(int sock){
int r = accept(sock, 0, 0); return accept(sock, 0, 0);
if (r != -1){
return fdopen(r, "r+");
}else{
return (FILE*)0;
}
} }