Fix 'Not enough conversion specifiers in format string'
This commit is contained in:
@@ -1660,9 +1660,9 @@ bool AppInit2(boost::thread_group& threadGroup, CScheduler& scheduler)
|
||||
if (net == NET_UNROUTABLE) {
|
||||
return InitError(strprintf(_("Unknown network specified in -onlynet: '%s'"), snet));
|
||||
} else if (net == NET_IPV4 && GetBoolArg("-disableipv4", false)) {
|
||||
return InitError(strprintf(_("-onlynet=ipv4 is incompatible with -disableipv4 !"), snet));
|
||||
return InitError(strprintf(_("-onlynet=ipv4 is incompatible with -disableipv4 !")));
|
||||
} else if (net == NET_IPV6 && GetBoolArg("-disableipv6", false)) {
|
||||
return InitError(strprintf(_("-onlynet=ipv6 is incompatible with -disableipv6 !"), snet));
|
||||
return InitError(strprintf(_("-onlynet=ipv6 is incompatible with -disableipv6 !")));
|
||||
}
|
||||
nets.insert(net);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user