diff options
author | Björn-Egil Dahlberg <[email protected]> | 2010-09-30 12:13:29 +0200 |
---|---|---|
committer | Björn-Egil Dahlberg <[email protected]> | 2010-11-08 11:00:15 +0100 |
commit | 6d9285dcf9121f48984cfaa723cdd9953666e64a (patch) | |
tree | 1fbf4cb4ad261fb05f68de899eb49e607f819aee /lib/erl_interface/src/connect/send_exit.c | |
parent | b93c12e8e0113862be038565fc04e170cfe3c12a (diff) | |
download | otp-6d9285dcf9121f48984cfaa723cdd9953666e64a.tar.gz otp-6d9285dcf9121f48984cfaa723cdd9953666e64a.tar.bz2 otp-6d9285dcf9121f48984cfaa723cdd9953666e64a.zip |
Fix faulty tracelevel in erl_interface
Diffstat (limited to 'lib/erl_interface/src/connect/send_exit.c')
-rw-r--r-- | lib/erl_interface/src/connect/send_exit.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/erl_interface/src/connect/send_exit.c b/lib/erl_interface/src/connect/send_exit.c index 098797c96d..d4e6605a2c 100644 --- a/lib/erl_interface/src/connect/send_exit.c +++ b/lib/erl_interface/src/connect/send_exit.c @@ -88,8 +88,7 @@ int ei_send_exit_tmo(int fd, const erlang_pid *from, const erlang_pid *to, put32be(s, index - 4); /* 4 */ put8(s, ERL_PASS_THROUGH); /* 1 */ /*** sum: len + 1080 */ - /* FIXME incorrect level */ - if (ei_tracelevel > 1) + if (ei_tracelevel >= 4) ei_show_sendmsg(stderr,msgbuf,NULL); ei_write_fill_t(fd,msgbuf,index,ms); |