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
(from parent 1:
d989660
)
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 18:00:43 +0000
(20:00 +0200)
source3/lib/ctdbd_conn.c
patch
|
blob
|
history
diff --git
a/source3/lib/ctdbd_conn.c
b/source3/lib/ctdbd_conn.c
index 16e8cb915e034601a010c06f65fa43b3fafc929e..dba94dcf982b6df24e7d90643f052f7cfadc3365 100644
(file)
--- a/
source3/lib/ctdbd_conn.c
+++ b/
source3/lib/ctdbd_conn.c
@@
-845,6
+845,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;
}