Fixed a bug in httpd.c
This commit is contained in:
parent
59b587462a
commit
fe20698fb0
@ -343,13 +343,14 @@ int n_connect = 0;
|
||||
|
||||
if (poll_add_dcb(client) == -1)
|
||||
{
|
||||
close(so);
|
||||
return n_connect;
|
||||
}
|
||||
n_connect++;
|
||||
}
|
||||
}
|
||||
}
|
||||
close(so);
|
||||
|
||||
return n_connect;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user