diff options
author | Cyrille Bagard <nocbos@gmail.com> | 2019-09-25 22:20:25 (GMT) |
---|---|---|
committer | Cyrille Bagard <nocbos@gmail.com> | 2019-09-25 22:20:25 (GMT) |
commit | 6ed1e4110eb19b78f76154aa095a74414531f04c (patch) | |
tree | d1c3562cb6e180baff3c388a3bb3574b0a02213b /src/analysis/db/client.c | |
parent | 3dc843b3f7991dcd738a30821ff56c7fe13f1094 (diff) |
Prepared history for database items.
Diffstat (limited to 'src/analysis/db/client.c')
-rw-r--r-- | src/analysis/db/client.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/analysis/db/client.c b/src/analysis/db/client.c index 744fa57..beb30c1 100644 --- a/src/analysis/db/client.c +++ b/src/analysis/db/client.c @@ -789,7 +789,7 @@ static void *g_hub_client_update(GHubClient *client) status = extract_packed_buffer(&in_pbuf, &tmp8, sizeof(uint8_t), true); if (!status) goto gdcu_bad_exchange; - client->can_get_updates = (tmp8 == 0x0); + client->can_get_updates = (tmp8 == 0x1); break; } @@ -797,6 +797,7 @@ static void *g_hub_client_update(GHubClient *client) if (has_more_data_in_packed_buffer(&in_pbuf)) goto next_command; + client->can_get_updates = true; continue; gdcu_bad_exchange: |