Merge 1d0c57a05c into merged_master (Bitcoin PR bitcoin/bitcoin#22914)

This commit is contained in:
James Dorfman 2023-04-21 05:15:56 +00:00
commit 62c3446ccb
2 changed files with 0 additions and 7 deletions

View file

@ -93,9 +93,6 @@ static void SetupCliArgs(ArgsManager& argsman)
/** libevent event log callback */
static void libevent_log_cb(int severity, const char *msg)
{
#ifndef EVENT_LOG_ERR // EVENT_LOG_ERR was added in 2.0.19; but before then _EVENT_LOG_ERR existed.
# define EVENT_LOG_ERR _EVENT_LOG_ERR
#endif
// Ignore everything other than errors
if (severity >= EVENT_LOG_ERR) {
throw std::runtime_error(strprintf("libevent error: %s", msg));