mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* ext/socket/socket.c (s_recvform): avoid VC++6 warning.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1689 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
e5de410caf
commit
429ad453f8
2 changed files with 6 additions and 0 deletions
|
@ -1,3 +1,7 @@
|
|||
Thu Aug 16 09:53:28 2001 Usaku Nakamura <usa@ruby-lang.org>
|
||||
|
||||
* ext/socket/socket.c (s_recvform): avoid VC++6 warning.
|
||||
|
||||
Thu Aug 16 03:50:33 2001 Usaku Nakamura <usa@ruby-lang.org>
|
||||
|
||||
* win32/win32.c (NtCmdGlob): avoid VC++ warning.
|
||||
|
|
|
@ -476,6 +476,8 @@ s_recvfrom(sock, argc, argv, from)
|
|||
#endif
|
||||
case RECV_SOCKET:
|
||||
return rb_assoc_new(str, rb_tainted_str_new(buf, alen));
|
||||
default:
|
||||
rb_bug("s_recvform called with bad value");
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue