summaryrefslogtreecommitdiffstats
path: root/src/socket_wrapper.c
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2021-01-28 12:40:14 +0100
committerAndreas Schneider <asn@samba.org>2021-02-02 10:23:33 +0100
commit5b2a98203bbb0230785a65429338b52bd377971b (patch)
tree9e254550cdab1b19f3dfa2b59ddaf49bd6ffdd65 /src/socket_wrapper.c
parentef90a761df3532ee45a05eb2c930769d40f5f093 (diff)
downloadsocket_wrapper-5b2a98203bbb0230785a65429338b52bd377971b.tar.gz
socket_wrapper-5b2a98203bbb0230785a65429338b52bd377971b.tar.xz
socket_wrapper-5b2a98203bbb0230785a65429338b52bd377971b.zip
swrap: print out SOCKET_WRAPPER_PACKAGE and SOCKET_WRAPPER_VERSION on first use
Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Anoop C S <anoopcs@samba.org> Reviewed-by: Andreas Schneider <asn@samba.org>
Diffstat (limited to 'src/socket_wrapper.c')
-rw-r--r--src/socket_wrapper.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/socket_wrapper.c b/src/socket_wrapper.c
index 89454ca..0507481 100644
--- a/src/socket_wrapper.c
+++ b/src/socket_wrapper.c
@@ -1672,6 +1672,10 @@ static void socket_wrapper_init_sockets(void)
return;
}
+ SWRAP_LOG(SWRAP_LOG_DEBUG,
+ "SOCKET_WRAPPER_PACKAGE[%s] SOCKET_WRAPPER_VERSION[%s]",
+ SOCKET_WRAPPER_PACKAGE, SOCKET_WRAPPER_VERSION);
+
/*
* Intialize the static cache early before
* any thread is able to start.