summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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();
}