mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* ext/socket/socket.c (socket_s_list_ip_address): constified.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21769 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
050a8e912f
commit
45c4ae9b8b
1 changed files with 1 additions and 1 deletions
|
@ -1536,7 +1536,7 @@ socket_s_list_ip_address(VALUE self)
|
|||
struct ifconf conf;
|
||||
struct ifreq *req;
|
||||
VALUE list = Qnil;
|
||||
char *reason = NULL;
|
||||
const char *reason = NULL;
|
||||
int save_errno;
|
||||
|
||||
fd = socket(AF_INET, SOCK_DGRAM, 0);
|
||||
|
|
Loading…
Reference in a new issue