Skip to content

Commit af68619

Browse files
committed
fix unbalanced square brackets
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50922 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
1 parent 02f2b5e commit af68619

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

ext/socket/udpsocket.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,7 @@ udp_send(int argc, VALUE *argv, VALUE sock)
194194

195195
/*
196196
* call-seq:
197-
* udpsocket.recvfrom_nonblock(maxlen [, flags [, options]) => [mesg, sender_inet_addr]
197+
* udpsocket.recvfrom_nonblock(maxlen [, flags [, options]]) => [mesg, sender_inet_addr]
198198
*
199199
* Receives up to _maxlen_ bytes from +udpsocket+ using recvfrom(2) after
200200
* O_NONBLOCK is set for the underlying file descriptor.

ext/socket/unixsocket.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ unix_path(VALUE sock)
131131

132132
/*
133133
* call-seq:
134-
* unixsocket.recvfrom(maxlen [, flags[, outbuf]) => [mesg, unixaddress]
134+
* unixsocket.recvfrom(maxlen [, flags[, outbuf]]) => [mesg, unixaddress]
135135
*
136136
* Receives a message via _unixsocket_.
137137
*

0 commit comments

Comments
 (0)