Rev 328: show ctdb control timeout in http://samba.org/~tridge/ctdb

tridge at samba.org tridge at samba.org
Sat May 19 11:11:07 GMT 2007


------------------------------------------------------------
revno: 328
revision-id: tridge at samba.org-20070519111106-hmbognp9baltnxgw
parent: tridge at samba.org-20070519072158-w0efl829gire7qbm
committer: Andrew Tridgell <tridge at samba.org>
branch nick: tridge
timestamp: Sat 2007-05-19 21:11:06 +1000
message:
  show ctdb control timeout
modified:
  common/ctdb_client.c           ctdb_client.c-20070411010216-3kd8v37k61steeya-1
=== modified file 'common/ctdb_client.c'
--- a/common/ctdb_client.c	2007-05-17 04:10:38 +0000
+++ b/common/ctdb_client.c	2007-05-19 11:11:06 +0000
@@ -754,6 +754,11 @@
 	}
 	if (timed_out) {
 		talloc_free(state);
+		if (errormsg) {
+			(*errormsg) = talloc_strdup(mem_ctx, "control timed out");
+		} else {
+			DEBUG(0,("ctdb_control timed out\n"));
+		}
 		return -1;
 	}
 



More information about the samba-cvs mailing list