Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

use rb_str_buf_cat() instead of rb_str_cat()

  • Loading branch information...
commit a67e7050fc41d95e96932cbf2d20ed2c943ae691 1 parent 1641827
@Watson1978 Watson1978 authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  enumerator.c
View
2  enumerator.c
@@ -526,7 +526,7 @@ inspect_enumerator(VALUE obj, VALUE dummy, int recur)
if (method_name[length-1] == ':') {
length--;
}
- rb_str_cat(str, method_name, length);
+ rb_str_buf_cat(str, method_name, length);
if (e->args) {
long argc = RARRAY_LEN(e->args);
Please sign in to comment.
Something went wrong with that request. Please try again.