#769 Fixed regression with colors.

This commit is contained in:
XMRig 2018-10-02 13:14:32 +03:00
parent 9a70f0e564
commit c2f6c70044

View file

@ -108,7 +108,7 @@ void Network::onActive(IStrategy *strategy, Client *client)
const char *fingerprint = client->tlsFingerprint();
if (fingerprint != nullptr) {
LOG_INFO("\x1B[1;30mfingerprint (SHA-256): \"%s\"", fingerprint);
LOG_INFO("%sfingerprint (SHA-256): \"%s\"", isColors() ? "\x1B[1;30m" : "", fingerprint);
}
}