From dea5c7b9486f7d4cbefd563a4e366c2fb3ccbf8f Mon Sep 17 00:00:00 2001 From: Kamen Mazdrashki Date: Sun, 5 Sep 2010 22:54:05 +0300 Subject: [PATCH] s4-idl: redefine dreplsrv_refresh() to be alike other RPC function definitions Sorry for the 'custom' definition first time --- source4/dsdb/repl/drepl_service.c | 2 +- source4/librpc/idl/irpc.idl | 4 +--- 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(); } -- 2.34.1