Explorar o código

Coverity Fix

issue 12777

Bug Description:  incorrectly used var r instead of rc
Mark Reynolds %!s(int64=13) %!d(string=hai) anos
pai
achega
ef4e3171c3
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      ldap/servers/plugins/replication/repl5_replica_config.c

+ 1 - 1
ldap/servers/plugins/replication/repl5_replica_config.c

@@ -1291,7 +1291,7 @@ replica_execute_cleanall_ruv_task (Object *r, ReplicaId rid, char *returntext)
 			slapi_log_error( SLAPI_LOG_FATAL, repl_plugin_name, "cleanAllRUV_task: unable to create cleanAllRUV "
 				"monitoring thread.  Aborting task.\n");
 		}
-	} else if(r == 0){ /* success */
+	} else if(rc == 0){ /* success */
 		slapi_log_error(SLAPI_LOG_FATAL, repl_plugin_name, "cleanAllRUV_task: Successfully Finished.\n");
 	} else {
 		slapi_log_error(SLAPI_LOG_FATAL, repl_plugin_name, "cleanAllRUV_task: Task failed (%d)\n",rc);