minor fix at MNCC socket
This commit is contained in:
parent
44ebf1616a
commit
26ab26db48
|
@ -126,7 +126,6 @@ static int mncc_accept(void)
|
||||||
|
|
||||||
mncc_sock = rc;
|
mncc_sock = rc;
|
||||||
flags = fcntl(mncc_sock, F_GETFL, 0);
|
flags = fcntl(mncc_sock, F_GETFL, 0);
|
||||||
flags = 0;
|
|
||||||
rc = fcntl(mncc_sock, F_SETFL, flags | O_NONBLOCK);
|
rc = fcntl(mncc_sock, F_SETFL, flags | O_NONBLOCK);
|
||||||
if (rc < 0) {
|
if (rc < 0) {
|
||||||
PDEBUG(DMNCC, DEBUG_ERROR, "Failed to set socket into non-blocking IO mode.\n");
|
PDEBUG(DMNCC, DEBUG_ERROR, "Failed to set socket into non-blocking IO mode.\n");
|
||||||
|
|
Loading…
Reference in New Issue