From: Jennifer Richards Date: Tue, 20 Dec 2016 02:51:31 +0000 (-0500) Subject: Remove debug output, clarify debug message. X-Git-Tag: v2.1.1~7 X-Git-Url: http://www.project-moonshot.org/gitweb/?p=trust_router.git;a=commitdiff_plain;h=9a2c6b21be6f81cbe1589a92afdabc1a2f259c58 Remove debug output, clarify debug message. --- diff --git a/trp/trps.c b/trp/trps.c index bb9dbc7..c706f72 100644 --- a/trp/trps.c +++ b/trp/trps.c @@ -923,7 +923,7 @@ static TRP_RC trps_handle_inforec_comm(TRPS_INSTANCE *trps, TRP_UPD *upd, TRP_IN } if (trps_name_in_provenance(our_peer_label, trp_inforec_get_provenance(rec))) - tr_debug("trps_handle_inforec_comm: rejecting community inforec to avoid loop."); + tr_debug("trps_handle_inforec_comm: rejecting community inforec to avoid provenance loop."); else { /* no loop occurring, accept the update */ comm=tr_comm_table_find_comm(trps->ctable, comm_id); @@ -1031,8 +1031,6 @@ static TRP_RC trps_handle_update(TRPS_INSTANCE *trps, TRP_UPD *upd) tr_debug("trps_handle_update: handling community inforec."); if (TRP_SUCCESS!=trps_handle_inforec_comm(trps, upd, rec)) tr_notice("trps_handle_update: error handling community inforec."); - else - tr_comm_table_print(stdout, trps->ctable); /* for debugging TODO remove */ break; default: