]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
rpc_server: Fix a "bool==true" condition
authorVolker Lendecke <vl@samba.org>
Wed, 20 Jan 2021 13:53:56 +0000 (14:53 +0100)
committerJeremy Allison <jra@samba.org>
Fri, 22 Jan 2021 19:54:38 +0000 (19:54 +0000)
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
source4/rpc_server/service_rpc.c

index ae8d91e68f01bca46e496d402b8fa9aea0655b20..406385f43e6812dd823f47d6a8d54cc2ffedb204 100644 (file)
@@ -82,7 +82,7 @@ static NTSTATUS dcesrv_init_endpoints(struct task_server *task,
         * process operations. This is not the most elegant solution, but it is
         * the least ugly, and is confined to the next block of code.
         */
-       if (use_single_process == true) {
+       if (use_single_process) {
                model_ops = process_model_startup("single");
                if (model_ops == NULL) {
                        DBG_ERR("Unable to load single process model");