зеркало из https://github.com/github/ruby.git
* expand tabs.
This commit is contained in:
Родитель
de4b2930f7
Коммит
fe9701ee00
|
@ -100,9 +100,9 @@ init_inetsock_internal(struct inetsock_arg *arg)
|
|||
else {
|
||||
if (lres) {
|
||||
#if !defined(_WIN32) && !defined(__CYGWIN__)
|
||||
status = 1;
|
||||
setsockopt(fd, SOL_SOCKET, SO_REUSEADDR,
|
||||
(char*)&status, (socklen_t)sizeof(status));
|
||||
status = 1;
|
||||
setsockopt(fd, SOL_SOCKET, SO_REUSEADDR,
|
||||
(char*)&status, (socklen_t)sizeof(status));
|
||||
#endif
|
||||
status = bind(fd, lres->ai_addr, lres->ai_addrlen);
|
||||
local = status;
|
||||
|
|
Загрузка…
Ссылка в новой задаче