avoid redundant check for negative length
commit7efa9abf11621070b2391d9b2033fadbdc3acacc
authorEric Wong <e@yhbt.net>
Thu, 23 Sep 2010 20:27:42 +0000 (23 13:27 -0700)
committerEric Wong <e@yhbt.net>
Thu, 23 Sep 2010 20:27:42 +0000 (23 13:27 -0700)
tree2b67076bcd58661241795d4f64c4407ea1a54b40
parentf3811fb079af28ed6eab6ed784b4c559965c7ccb
avoid redundant check for negative length

rb_str_new() and rb_str_resize() already check those for
us, so there's no reason to repeat the check.
ext/socket_dontwait/socket_dontwait_ext.c