* expand tabs.
This commit is contained in:
parent
de4b2930f7
commit
fe9701ee00
@ -100,9 +100,9 @@ init_inetsock_internal(struct inetsock_arg *arg)
|
|||||||
else {
|
else {
|
||||||
if (lres) {
|
if (lres) {
|
||||||
#if !defined(_WIN32) && !defined(__CYGWIN__)
|
#if !defined(_WIN32) && !defined(__CYGWIN__)
|
||||||
status = 1;
|
status = 1;
|
||||||
setsockopt(fd, SOL_SOCKET, SO_REUSEADDR,
|
setsockopt(fd, SOL_SOCKET, SO_REUSEADDR,
|
||||||
(char*)&status, (socklen_t)sizeof(status));
|
(char*)&status, (socklen_t)sizeof(status));
|
||||||
#endif
|
#endif
|
||||||
status = bind(fd, lres->ai_addr, lres->ai_addrlen);
|
status = bind(fd, lres->ai_addr, lres->ai_addrlen);
|
||||||
local = status;
|
local = status;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user