Gadver
This commit is contained in:
parent
c0e55f6b66
commit
a539b5b5c0
1 changed files with 1 additions and 1 deletions
|
@ -98,7 +98,7 @@ bool DDV_ready(int sock){
|
||||||
}
|
}
|
||||||
|
|
||||||
int DDV_readycount(int sock){
|
int DDV_readycount(int sock){
|
||||||
static tmp[1048576];
|
static char tmp[1048576];
|
||||||
int preflags = fcntl(sock, F_GETFL, 0);
|
int preflags = fcntl(sock, F_GETFL, 0);
|
||||||
int postflags = preflags | O_NONBLOCK;
|
int postflags = preflags | O_NONBLOCK;
|
||||||
fcntl(sock, F_SETFL, postflags);
|
fcntl(sock, F_SETFL, postflags);
|
||||||
|
|
Loading…
Add table
Reference in a new issue