From: claudio Date: Wed, 21 Apr 2021 09:03:42 +0000 (+0000) Subject: When setting RRDP_STATE_PARSE_ERROR a warning is issued so there is no need X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=8f9ca9f8dac87d9ac9de8cce6324c7e81052b357;p=openbsd When setting RRDP_STATE_PARSE_ERROR a warning is issued so there is no need to warn a 2nd time here, it adds no additional information. --- diff --git a/usr.sbin/rpki-client/rrdp.c b/usr.sbin/rpki-client/rrdp.c index 9e3c232e231..8ffd96cbf84 100644 --- a/usr.sbin/rpki-client/rrdp.c +++ b/usr.sbin/rpki-client/rrdp.c @@ -1,4 +1,4 @@ -/* $OpenBSD: rrdp.c,v 1.7 2021/04/20 13:26:46 claudio Exp $ */ +/* $OpenBSD: rrdp.c,v 1.8 2021/04/21 09:03:42 claudio Exp $ */ /* * Copyright (c) 2020 Nils Fisher * Copyright (c) 2021 Claudio Jeker @@ -297,7 +297,6 @@ rrdp_finished(struct rrdp *s) return; if (s->state & RRDP_STATE_PARSE_ERROR) { - warnx("%s: failed after XML parse error", s->local); rrdp_failed(s); return; }