summaryrefslogtreecommitdiffstats
path: root/aclk/aclk_query.c
diff options
context:
space:
mode:
authorTimotej S <6674623+underhood@users.noreply.github.com>2023-05-18 13:56:20 +0200
committerGitHub <noreply@github.com>2023-05-18 13:56:20 +0200
commit5827732aa706db68bf50cdeb1b53fecc3b14f2f9 (patch)
treedf486ece7af388482ce47a3e05bba4a3ae9ca118 /aclk/aclk_query.c
parentb20abcbc1e78acdf50537af281c3dfe7621c13fd (diff)
Honor maximum message size limit of MQTT server (#15009)
Diffstat (limited to 'aclk/aclk_query.c')
-rw-r--r--aclk/aclk_query.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/aclk/aclk_query.c b/aclk/aclk_query.c
index 4c2e918a3a..0698c2d606 100644
--- a/aclk/aclk_query.c
+++ b/aclk/aclk_query.c
@@ -216,7 +216,7 @@ static int http_api_v2(struct aclk_query_thread *query_thr, aclk_query_t query)
}
// send msg.
- aclk_http_msg_v2(query_thr->client, query->callback_topic, query->msg_id, t, query->created, w->response.code, local_buffer->buffer, local_buffer->len);
+ w->response.code = aclk_http_msg_v2(query_thr->client, query->callback_topic, query->msg_id, t, query->created, w->response.code, local_buffer->buffer, local_buffer->len);
struct timeval tv;