aboutsummaryrefslogtreecommitdiffstats
path: root/lib/erl_interface/src/connect/send_reg.c
diff options
context:
space:
mode:
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