s4-idl: redefine dreplsrv_refresh() to be alike other RPC function definitions
authorKamen Mazdrashki <kamenim@samba.org>
Sun, 5 Sep 2010 19:54:05 +0000 (22:54 +0300)
committerKamen Mazdrashki <kamenim@samba.org>
Sun, 5 Sep 2010 20:34:28 +0000 (23:34 +0300)
Sorry for the 'custom' definition first time

source4/dsdb/repl/drepl_service.c
source4/librpc/idl/irpc.idl

index 252ec5f693ca918f54c9bcafb1093c94f2efa781..5babbcbf6de76d65fa0f3400e382abcd8bafdade 100644 (file)
@@ -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;
 }
index 220cecfb89a7baedf53706c3f1d50d20596e5915..35204dbedc6ec9689bdb694c91e36940f9aea4e3 100644 (file)
@@ -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();
 }