ruby/trema/default-logger.c in trema-0.3.21 vs ruby/trema/default-logger.c in trema-0.4.0

- old
+ new

@@ -26,10 +26,10 @@ static VALUE do_log( void ( *log_function )( const char *format, ... ), int argc, VALUE *argv ) { VALUE message = rb_f_sprintf( argc, argv ); - log_function( STR2CSTR( message ) ); + log_function( RSTRING_PTR( message ) ); return message; } /*