summaryrefslogtreecommitdiff
path: root/ext/socket/constants.c
diff options
context:
space:
mode:
authorakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-02-09 14:05:37 +0000
committerakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-02-09 14:05:37 +0000
commit2dd3fa9f3e222866e0c3577a3e447509cc40a647 (patch)
tree9388712af86811a2bb7f03228d67be2bc5dcfea0 /ext/socket/constants.c
parentf5da7031b91426f362e8ec2101bf794976ecc590 (diff)
* ext/socket/mkconstants.rb: rename level_to_int to iplevel_to_int.
rename intern_level to intern_iplevel. * ext/socket/constants.c: follow the renaming. * ext/socket/option.c: ditto. * ext/socket/ancdata.c: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22185 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/socket/constants.c')
-rw-r--r--ext/socket/constants.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/socket/constants.c b/ext/socket/constants.c
index 3b7906f..aaedfa1 100644
--- a/ext/socket/constants.c
+++ b/ext/socket/constants.c
@@ -61,7 +61,7 @@ int
level_arg(int family, VALUE level)
{
/* convert SOL_SOCKET, IPPROTO_TCP, etc. */
- return constant_arg(level, level_to_int, "unknown protocol level");
+ return constant_arg(level, iplevel_to_int, "unknown protocol level");
}
int