aboutsummaryrefslogtreecommitdiffstats
path: root/lib/erl_interface/src/connect/send_reg.c
diff options
context:
space:
mode:
authorBjörn-Egil Dahlberg <[email protected]>2010-09-30 12:13:29 +0200
committerBjörn-Egil Dahlberg <[email protected]>2010-11-08 11:00:15 +0100
commit6d9285dcf9121f48984cfaa723cdd9953666e64a (patch)
tree1fbf4cb4ad261fb05f68de899eb49e607f819aee /lib/erl_interface/src/connect/send_reg.c
parentb93c12e8e0113862be038565fc04e170cfe3c12a (diff)
downloadotp-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_reg.c')
-rw-r--r--lib/erl_interface/src/connect/send_reg.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/erl_interface/src/connect/send_reg.c b/lib/erl_interface/src/connect/send_reg.c
index 8f0e40309c..779b1b8359 100644
--- a/lib/erl_interface/src/connect/send_reg.c
+++ b/lib/erl_interface/src/connect/send_reg.c
@@ -82,8 +82,7 @@ int ei_send_reg_encoded_tmo(int fd, const erlang_pid *from,
put32be(s, index + msglen - 4); /* 4 */
put8(s, ERL_PASS_THROUGH); /* 1 */
/*** sum: 1336 */
- /* FIXME incorrect level.... */
- if (ei_tracelevel > 0)
+ if (ei_tracelevel >= 4)
ei_show_sendmsg(stderr,header,msg);
#ifdef HAVE_WRITEV