* ext/socket/socket.c (s_recvfrom_nonblock): fixed awesome typo.
sorry. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21164 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
272a3aa6a2
commit
445b6d5d01
@ -37,6 +37,9 @@ Mon Dec 29 10:12:12 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
|
||||
65536. suggested by akr in [ruby-core:20918]. response to
|
||||
feature request #936 in [ruby-core:20917].
|
||||
|
||||
* ext/socket/socket.c (s_recvfrom_nonblock): fixed awesome typo.
|
||||
sorry.
|
||||
|
||||
Mon Dec 29 07:15:16 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
|
||||
|
||||
* cont.c: small RDoc fix mentioned from <radek.bulat at gmail.com>
|
||||
|
@ -690,7 +690,7 @@ s_recvfrom_nonblock(VALUE sock, int argc, VALUE *argv, enum sock_recv_type from)
|
||||
int fd, flags;
|
||||
VALUE addr = Qnil;
|
||||
|
||||
rb_scan_args(argc, argv, "2", &len, &flg);
|
||||
rb_scan_args(argc, argv, "02", &len, &flg);
|
||||
|
||||
if (len == Qnil) buflen = 65536;
|
||||
else buflen = NUM2INT(len);
|
||||
|
Loading…
x
Reference in New Issue
Block a user