[SCM] CTDB repository - branch master updated -
ctdb-1.0.60-4-g6fb2f8a
Ronnie Sahlberg
sahlberg at samba.org
Tue Oct 14 21:36:10 GMT 2008
The branch, master has been updated
via 6fb2f8a36239e5902e27cf10213f85faf216d6f1 (commit)
from 9b1d089c99413f3681440f3cf33c293d118c9108 (commit)
http://gitweb.samba.org/?p=sahlberg/ctdb.git;a=shortlog;h=master
- Log -----------------------------------------------------------------
commit 6fb2f8a36239e5902e27cf10213f85faf216d6f1
Author: Ronnie Sahlberg <ronniesahlberg at gmail.com>
Date: Wed Oct 15 08:33:37 2008 +1100
we must also check the status returned from the get tickles control to
determine whether it was successful or not
-----------------------------------------------------------------------
Summary of changes:
client/ctdb_client.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
Changeset truncated at 500 lines:
diff --git a/client/ctdb_client.c b/client/ctdb_client.c
index 4018300..07c0b88 100644
--- a/client/ctdb_client.c
+++ b/client/ctdb_client.c
@@ -2538,7 +2538,7 @@ int ctdb_ctrl_get_tcp_tickles(struct ctdb_context *ctdb,
ret = ctdb_control(ctdb, destnode, 0,
CTDB_CONTROL_GET_TCP_TICKLE_LIST, 0, data,
mem_ctx, &outdata, &status, NULL, NULL);
- if (ret != 0) {
+ if (ret != 0 || status != 0) {
DEBUG(DEBUG_ERR,(__location__ " ctdb_control for get tcp tickles failed\n"));
return -1;
}
--
CTDB repository
More information about the samba-cvs
mailing list