s3:smbd increase a loglevel
authorChristian Ambach <ambi@samba.org>
Mon, 8 Apr 2013 16:09:05 +0000 (18:09 +0200)
committerVolker Lendecke <vl@samba.org>
Fri, 19 Apr 2013 11:16:38 +0000 (13:16 +0200)
do not complain too loudly if the socket has already gone

Signed-off-by: Christian Ambach <ambi@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>
source3/smbd/process.c

index 478f1db21d98da07a3c0a09006de91e06657f684..2d6f0f1f6f1be6041bab05dc3a55e1cd4d2b8b67 100644 (file)
@@ -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)));
                }
        }