Add support for keepAlive.

This commit is contained in:
XMRig 2017-06-07 06:48:00 +03:00
parent c29dc8bcf4
commit 5f1f901649
5 changed files with 53 additions and 15 deletions

View file

@ -120,7 +120,7 @@ Options::Options(int argc, char **argv) :
m_background(false),
m_colors(true),
m_doubleHash(false),
m_keepalive(false),
m_keepAlive(false),
m_nicehash(false),
m_ready(false),
m_safe(false),
@ -277,7 +277,7 @@ bool Options::parseArg(int key, char *arg)
break;
case 'k': /* --keepalive */
m_keepalive = true;
m_keepAlive = true;
break;
case 'V': /* --version */