------------------------------------------------------------
revno: 328
revision-id: [EMAIL PROTECTED]
parent: [EMAIL PROTECTED]
committer: Andrew Tridgell <[EMAIL PROTECTED]>
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;
}