summaryrefslogtreecommitdiffstats
path: root/ext/socket/ancdata.c
diff options
context:
space:
mode:
authorakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-02-09 16:03:08 +0000
committerakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-02-09 16:03:08 +0000
commitb31db763ec6f5b4e33d8447b131ec994e6584d62 (patch)
treefa7ba1715159c1d59e5773d49f07129c7fe332f0 /ext/socket/ancdata.c
parente655d5a50f5de54f01ec0451330f3a08584042c7 (diff)
downloadruby-b31db763ec6f5b4e33d8447b131ec994e6584d62.tar.gz
ruby-b31db763ec6f5b4e33d8447b131ec994e6584d62.tar.xz
ruby-b31db763ec6f5b4e33d8447b131ec994e6584d62.zip
* ext/socket/mkconstants.rb: generate intern_family_noprefix.
* ext/socket/option.c (sockopt_inspect): use intern_family_noprefix not to show AF_ prefix. * ext/socket/ancdata.c (ancillary_inspect): ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@22187 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/socket/ancdata.c')
-rw-r--r--ext/socket/ancdata.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/socket/ancdata.c b/ext/socket/ancdata.c
index 27b15b25f..c8535148e 100644
--- a/ext/socket/ancdata.c
+++ b/ext/socket/ancdata.c
@@ -599,7 +599,7 @@ ancillary_inspect(VALUE self)
ret = rb_sprintf("#<%s: ", rb_obj_classname(self));
- family_id = intern_family(family);
+ family_id = intern_family_noprefix(family);
if (family_id)
rb_str_cat2(ret, rb_id2name(family_id));
else