summaryrefslogtreecommitdiff
path: root/ext/socket/basicsocket.c
diff options
context:
space:
mode:
Diffstat (limited to 'ext/socket/basicsocket.c')
-rw-r--r--ext/socket/basicsocket.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/ext/socket/basicsocket.c b/ext/socket/basicsocket.c
index 6b746d06c1..fdbbd15781 100644
--- a/ext/socket/basicsocket.c
+++ b/ext/socket/basicsocket.c
@@ -258,11 +258,12 @@ bsock_setsockopt(int argc, VALUE *argv, VALUE sock)
#if !defined(__BEOS__)
/*
* Document-method: getsockopt
- * call-seq: getsockopt(level, optname)
+ * call-seq:
+ * getsockopt(level, optname) => socketoption
*
* Gets a socket option. These are protocol and system specific, see your
* local system documentation for details. The option is returned as
- * a String with the data being the binary value of the socket option.
+ * a Socket::Option.
*
* === Parameters
* * +level+ is an integer, usually one of the SOL_ constants such as