[SCM] Samba Shared Repository - branch master updated
Volker Lendecke
vlendec at samba.org
Wed Sep 1 04:59:09 MDT 2010
The branch, master has been updated
via 5b875a8 s3: Print the IP of the server that stopped responding
from d45f901 s4/ldb: fix standalone build
http://gitweb.samba.org/?p=samba.git;a=shortlog;h=master
- Log -----------------------------------------------------------------
commit 5b875a83a9c641f9e016bd4e83051170f7bd50d0
Author: Volker Lendecke <vl at samba.org>
Date: Wed Sep 1 12:55:18 2010 +0200
s3: Print the IP of the server that stopped responding
-----------------------------------------------------------------------
Summary of changes:
source3/libsmb/clientgen.c | 6 +++++-
1 files changed, 5 insertions(+), 1 deletions(-)
Changeset truncated at 500 lines:
diff --git a/source3/libsmb/clientgen.c b/source3/libsmb/clientgen.c
index 5c6c86d..cdf51c7 100644
--- a/source3/libsmb/clientgen.c
+++ b/source3/libsmb/clientgen.c
@@ -247,7 +247,11 @@ bool cli_receive_smb(struct cli_state *cli)
/* If the server is not responding, note that now */
if (len < 0) {
- DEBUG(0, ("Receiving SMB: Server stopped responding\n"));
+ char addr[INET6_ADDRSTRLEN];
+
+ print_sockaddr(addr, sizeof(addr), &cli->dest_ss);
+ DEBUG(0, ("Receiving SMB: Server %s stopped responding\n",
+ addr));
close(cli->fd);
cli->fd = -1;
return false;
--
Samba Shared Repository
More information about the samba-cvs
mailing list