summaryrefslogtreecommitdiffstats
path: root/src/socket_wrapper.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/socket_wrapper.c')
-rw-r--r--src/socket_wrapper.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/socket_wrapper.c b/src/socket_wrapper.c
index ac7ce2d..70bfb11 100644
--- a/src/socket_wrapper.c
+++ b/src/socket_wrapper.c
@@ -90,7 +90,7 @@ static void swrap_log(enum swrap_dbglvl_e dbglvl, const char *format, ...)
const char *d;
unsigned int lvl = 0;
- d = getenv("SOCKET_WRAPPER_DBGLVL");
+ d = getenv("SOCKET_WRAPPER_DEBUGLEVEL");
if (d != NULL) {
lvl = atoi(d);
}