DDVSocket edits

This commit is contained in:
Thulinma 2010-11-08 15:56:43 +01:00
parent 72f150aaf6
commit 708829b5a9
2 changed files with 9 additions and 3 deletions

View file

@ -48,7 +48,7 @@ int main(int argc, char ** argv){
int status;
while (server_socket > 0){
waitpid((pid_t)-1, &status, WNOHANG);
CONN_fd = DDV_Accept(server_socket);
CONN_fd = DDV_Accept(server_socket, true);
if (CONN_fd > 0){
pid_t myid = fork();
if (myid == 0){