git.samba.org
/
sahlberg
/
ctdb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9b1d089
)
we must also check the status returned from the get tickles control to
author
Ronnie Sahlberg
<ronniesahlberg@gmail.com>
Tue, 14 Oct 2008 21:33:37 +0000
(08:33 +1100)
committer
Ronnie Sahlberg
<ronniesahlberg@gmail.com>
Tue, 14 Oct 2008 21:33:37 +0000
(08:33 +1100)
determine whether it was successful or not
client/ctdb_client.c
patch
|
blob
|
history
diff --git
a/client/ctdb_client.c
b/client/ctdb_client.c
index 401830002bac03a7f838ed79051c88cda02b2501..07c0b8820a70537f93dc7c2d3be4ba3cd9408259 100644
(file)
--- 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;
}