mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* ext/socket/getaddrinfo.c (getaddrinfo): constified.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18508 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
c2e85dfa8f
commit
0bf6ed0fc8
1 changed files with 1 additions and 1 deletions
|
@ -376,7 +376,7 @@ getaddrinfo(const char *hostname, const char *servname, const struct addrinfo *h
|
|||
port = htons((unsigned short)atoi(servname));
|
||||
} else {
|
||||
struct servent *sp;
|
||||
char *proto;
|
||||
const char *proto;
|
||||
|
||||
proto = NULL;
|
||||
switch (pai->ai_socktype) {
|
||||
|
|
Loading…
Add table
Reference in a new issue