Browse Source

Coverity Fix

issue 12777

Bug Description:  incorrectly used var r instead of rc
cherry-picked from ef4e3171c308cec2ca36e02cbc16d0f8da056a64
Mark Reynolds 13 years ago
parent
commit
bcfa9e3aa2
1 changed files with 1 additions and 2 deletions
  1. 1 2
      ldap/servers/plugins/replication/repl5_replica_config.c

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

@@ -1278,8 +1278,7 @@ done:
 			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);