mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* expand tabs.
This commit is contained in:
parent
de4b2930f7
commit
fe9701ee00
1 changed files with 3 additions and 3 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Reference in a new issue