From: Christian Ambach Date: Mon, 8 Apr 2013 16:09:05 +0000 (+0200) Subject: s3:smbd increase a loglevel X-Git-Url: http://git.samba.org/?p=metze%2Fsamba%2Fwip.git;a=commitdiff_plain;h=58275be0eb68d01a238f0fedf4c92b63f7d10b53 s3:smbd increase a loglevel do not complain too loudly if the socket has already gone Signed-off-by: Christian Ambach Reviewed-by: Volker Lendecke --- diff --git a/source3/smbd/process.c b/source3/smbd/process.c index 478f1db21d98..2d6f0f1f6f1b 100644 --- a/source3/smbd/process.c +++ b/source3/smbd/process.c @@ -3577,11 +3577,11 @@ void smbd_process(struct tevent_context *ev_ctx, DEBUG(0, ("ctdbd_register_ips failed: %s\n", nt_errstr(status))); } - } else - { - DEBUG(0,("Unable to get tcp info for " - "CTDB_CONTROL_TCP_CLIENT: %s\n", - strerror(errno))); + } else { + int level = (errno == ENOTCONN)?2:0; + DEBUG(level,("Unable to get tcp info for " + "smbd_register_ips: %s\n", + strerror(errno))); } }