git.samba.org
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
34ea813
)
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
Michael Adam
<obnox@samba.org>
Thu, 31 Mar 2011 16:10:22 +0000
(18:10 +0200)
source3/lib/ctdbd_conn.c
patch
|
blob
|
history
diff --git
a/source3/lib/ctdbd_conn.c
b/source3/lib/ctdbd_conn.c
index 8e0eeee9fa6756109c89bd41c902113530cc1d66..79abb48ec15e197632359d7fce77f792130a0e5c 100644
(file)
--- a/
source3/lib/ctdbd_conn.c
+++ b/
source3/lib/ctdbd_conn.c
@@
-844,6
+844,9
@@
static NTSTATUS ctdbd_control(struct ctdbd_connection *conn,
if (flags & CTDB_CTRL_FLAG_NOREPLY) {
TALLOC_FREE(new_conn);
+ if (cstatus) {
+ *cstatus = 0;
+ }
return NT_STATUS_OK;
}