commit 09877303014e0297d2c2707be5167d932cc3f425 Author: Jim Fehlig Date: Mon Mar 26 13:00:25 2018 -0600 util: honor reportError parameter in virSocketAddrParseInternal Signed-off-by: Jim Fehlig Reviewed-by: John Ferlan Index: libvirt-4.2.0/src/util/virsocketaddr.c =================================================================== --- libvirt-4.2.0.orig/src/util/virsocketaddr.c +++ libvirt-4.2.0/src/util/virsocketaddr.c @@ -107,7 +107,8 @@ virSocketAddrParseInternal(struct addrin int err; if (val == NULL) { - virReportError(VIR_ERR_INVALID_ARG, "%s", _("Missing address")); + if (reportError) + virReportError(VIR_ERR_INVALID_ARG, "%s", _("Missing address")); return -1; }