From b51ad15618f77b9552a2e23f7d28c4c39a65f6b1 Mon Sep 17 00:00:00 2001 From: Christof Schmitt Date: Tue, 9 Jun 2015 13:10:27 -0700 Subject: smbd: Use new debug macros in kill-client-ip Mainly to have the new macros actually used in the code. Signed-off-by: Christof Schmitt Reviewed-by: Jeremy Allison Autobuild-User(master): Jeremy Allison Autobuild-Date(master): Thu Jun 11 04:34:50 CEST 2015 on sn-devel-104 --- source3/smbd/process.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'source3') diff --git a/source3/smbd/process.c b/source3/smbd/process.c index 72135a2c0bf..958c82b429b 100644 --- a/source3/smbd/process.c +++ b/source3/smbd/process.c @@ -2711,7 +2711,7 @@ static void msg_kill_client_ip(struct messaging_context *msg_ctx, const char *ip = (char *) data->data; char *client_ip; - DEBUG(10, ("Got kill request for client IP %s\n", ip)); + DBG_DEBUG("Got kill request for client IP %s\n", ip); client_ip = tsocket_address_inet_addr_string(sconn->remote_address, talloc_tos()); @@ -2720,8 +2720,8 @@ static void msg_kill_client_ip(struct messaging_context *msg_ctx, } if (strequal(ip, client_ip)) { - DEBUG(1, ("Got kill client message for %s - " - "exiting immediately\n", ip)); + DBG_WARNING("Got kill client message for %s - " + "exiting immediately\n", ip); exit_server_cleanly("Forced disconnect for client"); } -- cgit v1.2.1