git.samba.org
/
metze
/
samba
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
53fcc3a
)
s3:ctdb: correctly handle cstatus if CTDB_CTRL_FLAG_NOREPLY is set.
author
Michael Adam
<obnox@samba.org>
Thu, 23 Dec 2010 15:43:55 +0000
(16:43 +0100)
committer
Stefan Metzmacher
<metze@samba.org>
Mon, 18 Apr 2011 16:10:35 +0000
(18:10 +0200)
(cherry picked from commit
c1f3d00263a7476564c5e758d80aca0b3fe8b8a5
)
Signed-off-by: Stefan Metzmacher <metze@samba.org>
source3/lib/ctdbd_conn.c
patch
|
blob
|
history
diff --git
a/source3/lib/ctdbd_conn.c
b/source3/lib/ctdbd_conn.c
index 1b64a29887401ed2f02c4148a8a8b72651798488..4137bdd50309deba725f3982f3eea2ed006ee64f 100644
(file)
--- a/
source3/lib/ctdbd_conn.c
+++ b/
source3/lib/ctdbd_conn.c
@@
-837,6
+837,9
@@
static NTSTATUS ctdbd_control(struct ctdbd_connection *conn,
if (flags & CTDB_CTRL_FLAG_NOREPLY) {
TALLOC_FREE(new_conn);
if (flags & CTDB_CTRL_FLAG_NOREPLY) {
TALLOC_FREE(new_conn);
+ if (cstatus) {
+ *cstatus = 0;
+ }
return NT_STATUS_OK;
}
return NT_STATUS_OK;
}