From: Alberto Leiva Popper Date: Thu, 24 Jun 2021 14:46:04 +0000 (-0500) Subject: TAL: Remove leftover #49 debug messages X-Git-Tag: v1.5.1~11 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=c38a87ae8432af82a99a1fcc1de17d785d1fd3c5;p=thirdparty%2FFORT-validator.git TAL: Remove leftover #49 debug messages --- diff --git a/src/main.c b/src/main.c index 0d845d5d..e60d1491 100644 --- a/src/main.c +++ b/src/main.c @@ -117,7 +117,6 @@ revert_config: free_rpki_config(); revert_log: log_teardown(); - PR_DEBUG_MSG("Main thread returning."); just_quit: return abs(error); } diff --git a/src/object/tal.c b/src/object/tal.c index bb8dec0a..a7081510 100644 --- a/src/object/tal.c +++ b/src/object/tal.c @@ -529,19 +529,14 @@ handle_tal_uri(struct tal *tal, struct rpki_uri *uri, void *arg) return ENSURE_NEGATIVE(error); if (thread_arg->sync_files) { - PR_DEBUG; - PR_DEBUG_MSG("%s", uri_op_get_printable(uri)); - if (uri_is_rsync(uri)) { if (!config_get_rsync_enabled()) { - PR_DEBUG; validation_destroy(state); return 0; /* Try some other TAL URI */ } error = rsync_download_files(uri, true, false); } else /* HTTPS */ { if (!config_get_http_enabled()) { - PR_DEBUG; validation_destroy(state); return 0; /* Try some other TAL URI */ } @@ -549,8 +544,6 @@ handle_tal_uri(struct tal *tal, struct rpki_uri *uri, void *arg) reqs_errors_log_uri(uri_get_global(uri)), true); } - PR_DEBUG; - /* Reminder: there's a positive error: EREQFAILED */ if (error) { working_repo_push(uri_get_global(uri)); diff --git a/src/rsync/rsync.c b/src/rsync/rsync.c index 4756043e..bdc7374a 100644 --- a/src/rsync/rsync.c +++ b/src/rsync/rsync.c @@ -449,7 +449,6 @@ do_rsync(struct rpki_uri *uri, bool is_ta, bool log_operation) goto release_args; if (retries == config_get_rsync_retry_count()) { - PR_DEBUG_MSG("%u", retries); pr_val_warn("Max RSYNC retries (%u) reached on '%s', won't retry again.", retries, uri_get_global(uri)); error = EREQFAILED; @@ -459,7 +458,6 @@ do_rsync(struct rpki_uri *uri, bool is_ta, bool log_operation) uri_get_global(uri), config_get_rsync_retry_interval(), config_get_rsync_retry_count() - retries); - PR_DEBUG; retries++; sleep(config_get_rsync_retry_interval()); continue;