From af68619a6c0de0d4f08d092d65143abcf2cedce3 Mon Sep 17 00:00:00 2001 From: kazu Date: Tue, 16 Jun 2015 14:40:20 +0000 Subject: [PATCH] fix unbalanced square brackets git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50922 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ext/socket/udpsocket.c | 2 +- ext/socket/unixsocket.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ext/socket/udpsocket.c b/ext/socket/udpsocket.c index 86d18f4fae..c4fdd5a857 100644 --- a/ext/socket/udpsocket.c +++ b/ext/socket/udpsocket.c @@ -194,7 +194,7 @@ udp_send(int argc, VALUE *argv, VALUE sock) /* * call-seq: - * udpsocket.recvfrom_nonblock(maxlen [, flags [, options]) => [mesg, sender_inet_addr] + * udpsocket.recvfrom_nonblock(maxlen [, flags [, options]]) => [mesg, sender_inet_addr] * * Receives up to _maxlen_ bytes from +udpsocket+ using recvfrom(2) after * O_NONBLOCK is set for the underlying file descriptor. diff --git a/ext/socket/unixsocket.c b/ext/socket/unixsocket.c index 9003529042..f768fbc126 100644 --- a/ext/socket/unixsocket.c +++ b/ext/socket/unixsocket.c @@ -131,7 +131,7 @@ unix_path(VALUE sock) /* * call-seq: - * unixsocket.recvfrom(maxlen [, flags[, outbuf]) => [mesg, unixaddress] + * unixsocket.recvfrom(maxlen [, flags[, outbuf]]) => [mesg, unixaddress] * * Receives a message via _unixsocket_. *