CHintBox: fix timeout comparsion

default timeout was not defined


Origin commit data
------------------
Commit: bd75701fc3
Author: Thilo Graf <dbt@novatux.de>
Date: 2016-12-12 (Mon, 12 Dec 2016)
This commit is contained in:
2016-12-12 21:35:18 +01:00
parent fb304d1d52
commit e8039bf784

View File

@@ -197,7 +197,7 @@ int CHintBox::exec()
neutrino_msg_data_t data;
int res = messages_return::none;
if (timeout == NO_TIMEOUT || timeout == 0)
if (timeout == NO_TIMEOUT || timeout == DEFAULT_TIMEOUT)
timeout = HINTBOX_DEFAULT_TIMEOUT;
uint64_t timeoutEnd = CRCInput::calcTimeoutEnd( timeout );