From 41be25f2709ea2fca15236331922927ef94305c4 Mon Sep 17 00:00:00 2001 From: Guilherme Sperb Machado Date: Sun, 28 Jun 2015 15:13:54 +0200 Subject: [PATCH] Commented the debug() function to avoid printing messages on production slices. Developers can un-comment the debug() function if desired. --- bind_public.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/bind_public.c b/bind_public.c index 6134f9e..5e32ca1 100644 --- a/bind_public.c +++ b/bind_public.c @@ -216,7 +216,8 @@ int bind(int sockfd, const struct sockaddr *addr, socklen_t addrlen) { rc = -1; } else { - debug( addr, (struct sockaddr*)&new_addr ); + // Un-comment the following line to activate the debug message + //debug( addr, (struct sockaddr*)&new_addr ); rc = bind_original( sockfd, (struct sockaddr*)&new_addr, addrlen ); } } -- 2.43.0