Removed libcurl dependency and fixed avgTime round in dashboard

This commit is contained in:
BenDroid 2017-11-07 18:51:55 +01:00
parent 46435ce520
commit f914e6d46c
7 changed files with 45 additions and 23 deletions

View file

@ -141,11 +141,11 @@ static void print_api()
#ifndef XMRIG_NO_CC
static void print_cc()
{
if (Options::i()->ccUrl() == nullptr) {
if (Options::i()->ccHost() == nullptr) {
return;
}
Log::i()->text(Options::i()->colors() ? "\x1B[01;32m * \x1B[01;37mCC Server: \x1B[01;36m%s" : " * CC Server: %s", Options::i()->ccUrl());
Log::i()->text(Options::i()->colors() ? "\x1B[01;32m * \x1B[01;37mCC Server: \x1B[01;36m%s:%d" : " * CC Server: %s:%d", Options::i()->ccHost(), Options::i()->ccPort());
}
#endif