1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

2000-02-29

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@629 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
matz 2000-02-29 08:05:32 +00:00
parent 0c123a83f0
commit 4890f3a684
20 changed files with 243 additions and 136 deletions

View file

@ -519,6 +519,7 @@ ip_addrsetup(host, port)
long i = NUM2LONG(host);
mkinetaddr(htonl(i), hbuf, sizeof(hbuf));
hostp = hbuf;
}
else {
char *name = STR2CSTR(host);
@ -532,8 +533,8 @@ ip_addrsetup(host, port)
else {
strcpy(hbuf, name);
}
hostp = hbuf;
}
hostp = hbuf;
if (NIL_P(port)) {
portp = 0;
}