aboutsummaryrefslogtreecommitdiffstats
path: root/lib/erl_interface/src/connect
diff options
context:
space:
mode:
authorBjörn-Egil Dahlberg <[email protected]>2009-12-09 13:11:51 +0000
committerErlang/OTP <[email protected]>2009-12-09 13:11:51 +0000
commitdd983db48113e78a919d7c6cf3cf3c944e935976 (patch)
tree95b0b293de71b5bb41dd9804faf12da72cf79d58 /lib/erl_interface/src/connect
parentf7c1ea4ff481a8dd7bd8c79ae540342fd8213434 (diff)
downloadotp-dd983db48113e78a919d7c6cf3cf3c944e935976.tar.gz
otp-dd983db48113e78a919d7c6cf3cf3c944e935976.tar.bz2
otp-dd983db48113e78a919d7c6cf3cf3c944e935976.zip
OTP-5037 Document debug support.
Debug trace output for connection activity could be enabled setting the trace level as an integer to the EI_TRACELEVEL environment variable. This option could also be read and set from a running program using ei_get_tracelevel(void) and ei_set_tracelevel(int).
Diffstat (limited to 'lib/erl_interface/src/connect')
-rw-r--r--lib/erl_interface/src/connect/ei_connect.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/lib/erl_interface/src/connect/ei_connect.c b/lib/erl_interface/src/connect/ei_connect.c
index 265e133158..d2d0a7e7c1 100644
--- a/lib/erl_interface/src/connect/ei_connect.c
+++ b/lib/erl_interface/src/connect/ei_connect.c
@@ -97,11 +97,7 @@
#include "ei_epmd.h"
#include "ei_internal.h"
-#ifdef _REENTRANT
-
-#else
int ei_tracelevel = 0;
-#endif
#define COOKIE_FILE "/.erlang.cookie"
#define EI_MAX_HOME_PATH 1024