Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

lets try stderr

  • Loading branch information...
commit d9500d199a0357f443ea11466339d1927ac00d9f 1 parent 90da878
@brianmario authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  ext/yajl/yajl_ext.c
View
2  ext/yajl/yajl_ext.c
@@ -193,7 +193,7 @@ void yajl_encode_part(void * wrapper, VALUE obj, VALUE io) {
status = yajl_gen_number(w->encoder, cptr, len);
} else {
str = rb_funcall(obj, intern_to_s, 0);
- rb_p(str);
+ fprintf(stderr, "Value is: %s\n", RSTRING_PTR(rb_inspect(str)));
Check_Type(str, T_STRING);
cptr = RSTRING_PTR(str);
len = RSTRING_LEN(str);
Please sign in to comment.
Something went wrong with that request. Please try again.