diff options
author | mame <mame@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-06-05 11:24:40 +0000 |
---|---|---|
committer | mame <mame@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-06-05 11:24:40 +0000 |
commit | 83b4c1c4248680697e39847aa68fe0b89a49fbaa (patch) | |
tree | 926622ff943d4f2faf5d3cce371b98d31c41bee2 /thread.c | |
parent | 7493685b3b9d9dfc980e8639422bb64ff2530cd5 (diff) |
* thread.c (thread_set_trace_func_m): fix check for proc argument.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@16841 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'thread.c')
-rw-r--r-- | thread.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -3032,7 +3032,7 @@ thread_set_trace_func_m(VALUE obj, VALUE trace) GetThreadPtr(obj, th); rb_thread_remove_event_hook(th, call_trace_func); - if (!NIL_P(trace)) { + if (NIL_P(trace)) { return Qnil; } thread_add_trace_func(th, trace); |