1
0
Fork 0
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:
usa 2001-08-16 00:54:54 +00:00
parent e5de410caf
commit 429ad453f8
2 changed files with 6 additions and 0 deletions

View file

@ -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> Thu Aug 16 03:50:33 2001 Usaku Nakamura <usa@ruby-lang.org>
* win32/win32.c (NtCmdGlob): avoid VC++ warning. * win32/win32.c (NtCmdGlob): avoid VC++ warning.

View file

@ -476,6 +476,8 @@ s_recvfrom(sock, argc, argv, from)
#endif #endif
case RECV_SOCKET: case RECV_SOCKET:
return rb_assoc_new(str, rb_tainted_str_new(buf, alen)); return rb_assoc_new(str, rb_tainted_str_new(buf, alen));
default:
rb_bug("s_recvform called with bad value");
} }
} }