summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorKamen Mazdrashki <kamenim@samba.org>2010-09-05 22:54:05 +0300
committerKamen Mazdrashki <kamenim@samba.org>2010-09-05 23:34:28 +0300
commitdea5c7b9486f7d4cbefd563a4e366c2fb3ccbf8f (patch)
tree71629974bc86ca497f075c2459a9f58a56c93f66 /source4
parentcf616ec316f9ee24d1fb8aacdf512f354fa4f656 (diff)
downloadsamba-dea5c7b9486f7d4cbefd563a4e366c2fb3ccbf8f.tar.gz
samba-dea5c7b9486f7d4cbefd563a4e366c2fb3ccbf8f.tar.bz2
samba-dea5c7b9486f7d4cbefd563a4e366c2fb3ccbf8f.zip
s4-idl: redefine dreplsrv_refresh() to be alike other RPC function definitions
Sorry for the 'custom' definition first time
Diffstat (limited to 'source4')
-rw-r--r--source4/dsdb/repl/drepl_service.c2
-rw-r--r--source4/librpc/idl/irpc.idl4
2 files changed, 2 insertions, 4 deletions
diff --git a/source4/dsdb/repl/drepl_service.c b/source4/dsdb/repl/drepl_service.c
index 252ec5f693..5babbcbf6d 100644
--- a/source4/dsdb/repl/drepl_service.c
+++ b/source4/dsdb/repl/drepl_service.c
@@ -244,7 +244,7 @@ static NTSTATUS dreplsrv_refresh(struct irpc_message *msg,
struct dreplsrv_service *s = talloc_get_type(msg->private_data,
struct dreplsrv_service);
- r->out.werr = dreplsrv_refresh_partitions(s);
+ r->out.result = dreplsrv_refresh_partitions(s);
return NT_STATUS_OK;
}
diff --git a/source4/librpc/idl/irpc.idl b/source4/librpc/idl/irpc.idl
index 220cecfb89..35204dbedc 100644
--- a/source4/librpc/idl/irpc.idl
+++ b/source4/librpc/idl/irpc.idl
@@ -156,7 +156,5 @@ import "misc.idl", "security.idl", "nbt.idl";
* @param partition_dn Partition to refresh cacheh for.
* If empy/NULL, refresh all partitions.
*/
- void dreplsrv_refresh(
- [out] WERROR werr
- );
+ WERROR dreplsrv_refresh();
}