From 0c95958c2d446feb85d4c0267bb5bd67edbe383b Mon Sep 17 00:00:00 2001 From: akr Date: Sun, 22 Feb 2009 17:27:15 +0000 Subject: [PATCH] * ext/socket/option.c (inspect_timeval_as_interval): renamed from inspect_timeval. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22559 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ChangeLog | 5 +++++ ext/socket/option.c | 6 +++--- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index bed462768b..d574dea168 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +Mon Feb 23 02:26:44 2009 Tanaka Akira + + * ext/socket/option.c (inspect_timeval_as_interval): renamed from + inspect_timeval. + Mon Feb 23 02:10:09 2009 Tanaka Akira * ext/socket/option.c (inspect_timeval): fix the size test. diff --git a/ext/socket/option.c b/ext/socket/option.c index 7d62d73ff5..55f849f3dd 100644 --- a/ext/socket/option.c +++ b/ext/socket/option.c @@ -303,7 +303,7 @@ inspect_socktype(int level, int optname, VALUE data, VALUE ret) #endif static int -inspect_timeval(int level, int optname, VALUE data, VALUE ret) +inspect_timeval_as_interval(int level, int optname, VALUE data, VALUE ret) { if (RSTRING_LEN(data) == sizeof(struct timeval)) { struct timeval s; @@ -484,10 +484,10 @@ sockopt_inspect(VALUE self) case SO_LINGER: inspected = inspect_linger(level, optname, data, ret); break; # endif # if defined(SO_RCVTIMEO) /* POSIX */ - case SO_RCVTIMEO: inspected = inspect_timeval(level, optname, data, ret); break; + case SO_RCVTIMEO: inspected = inspect_timeval_as_interval(level, optname, data, ret); break; # endif # if defined(SO_SNDTIMEO) /* POSIX */ - case SO_SNDTIMEO: inspected = inspect_timeval(level, optname, data, ret); break; + case SO_SNDTIMEO: inspected = inspect_timeval_as_interval(level, optname, data, ret); break; # endif # if defined(SO_PEERCRED) /* GNU/Linux */ case SO_PEERCRED: inspected = inspect_peercred(level, optname, data, ret); break;