From: Benoit Plessis Date: Fri, 4 Oct 2019 09:08:46 +0000 (+0200) Subject: Add a warning when trying to activate bulktransferts on an SNMP v1 host -- fix formating X-Git-Tag: collectd-5.11.0~56^2~3 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=73ef54f4efba0c043923dd531d703ee0005d1264;p=thirdparty%2Fcollectd.git Add a warning when trying to activate bulktransferts on an SNMP v1 host -- fix formating --- diff --git a/src/snmp.c b/src/snmp.c index 6b7b1ae7f..8ff400959 100644 --- a/src/snmp.c +++ b/src/snmp.c @@ -822,7 +822,9 @@ static int csnmp_config_add_host(oconfig_item_t *ci) { break; } if (hd->bulk_size > 0 && hd->version < 2) { - WARNING("snmp plugin: Bulk transferts is only available for snmp v2 and later, host '%s' is configured as version '%d'", hd->name, hd->version ); + WARNING("snmp plugin: Bulk transferts is only available for snmp v2 and " + "later, host '%s' is configured as version '%d'", + hd->name, hd->version); } if (hd->version == 3) { if (hd->username == NULL) {