summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorChristof Schmitt <cs@samba.org>2015-06-09 13:10:27 -0700
committerJeremy Allison <jra@samba.org>2015-06-11 04:34:50 +0200
commitb51ad15618f77b9552a2e23f7d28c4c39a65f6b1 (patch)
tree6edb399a4f338c26893e0813bc74861e359ac88c /source3
parent70b10f8f202ed81bf0a0a90e71faa61b8ed2c2b5 (diff)
downloadsamba-b51ad15618f77b9552a2e23f7d28c4c39a65f6b1.tar.gz
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 <cs@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org> Autobuild-User(master): Jeremy Allison <jra@samba.org> Autobuild-Date(master): Thu Jun 11 04:34:50 CEST 2015 on sn-devel-104
Diffstat (limited to 'source3')
-rw-r--r--source3/smbd/process.c6
1 files changed, 3 insertions, 3 deletions
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");
}