Revision 3fdf93d8

View differences:

src/raft/FedReplicaManager.cc
273 273
/* -------------------------------------------------------------------------- */
274 274
/* -------------------------------------------------------------------------- */
275 275

  
276
int FedReplicaManager::get_next_record(int zone_id, std::string& zedp, 
276
int FedReplicaManager::get_next_record(int zone_id, std::string& zedp,
277 277
        LogDBRecord& lr, std::string& error)
278 278
{
279 279
    pthread_mutex_lock(&mutex);
......
416 416
    // -------------------------------------------------------------------------
417 417
    // Do the XML-RPC call
418 418
    // -------------------------------------------------------------------------
419
    xml_rc = Client::client()->call(zedp, replica_method, replica_params, 
419
    xml_rc = Client::client()->call(zedp, replica_method, replica_params,
420 420
        xmlrpc_timeout_ms, &result, error);
421 421

  
422 422
    if ( xml_rc == 0 )
......
443 443
        ess << "Error replicating log entry " << lr.index << " on zone "
444 444
            << zone_id << " (" << zedp << "): " << error;
445 445

  
446
        NebulaLog::log("FRM", Log::ERROR, error);
446
        NebulaLog::log("FRM", Log::ERROR, ess);
447 447

  
448 448
        error = ess.str();
449 449
    }

Also available in: Unified diff