1
0
Fork 0
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:
nobu 2009-01-25 03:33:54 +00:00
parent 050a8e912f
commit 45c4ae9b8b

View file

@ -1536,7 +1536,7 @@ socket_s_list_ip_address(VALUE self)
struct ifconf conf; struct ifconf conf;
struct ifreq *req; struct ifreq *req;
VALUE list = Qnil; VALUE list = Qnil;
char *reason = NULL; const char *reason = NULL;
int save_errno; int save_errno;
fd = socket(AF_INET, SOCK_DGRAM, 0); fd = socket(AF_INET, SOCK_DGRAM, 0);