summaryrefslogtreecommitdiffstats
path: root/aclk
diff options
context:
space:
mode:
authorTimotej S <6674623+underhood@users.noreply.github.com>2020-09-28 20:30:58 +0200
committerGitHub <noreply@github.com>2020-09-28 20:30:58 +0200
commitaa997abd9b72504bdb7d6065d8832cfb46825e7d (patch)
tree8e80df62fcd555118a9dcc7cd42ecbcf4f6064ad /aclk
parent78c0127de98f03ca4b5bc9c15efc535e16a7518a (diff)
minor - removes leading whitespace before JSON in ACLK (#9998)
avoids extra processing on the Cloud side (skipping of whitespace)
Diffstat (limited to 'aclk')
-rw-r--r--aclk/agent_cloud_link.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/aclk/agent_cloud_link.c b/aclk/agent_cloud_link.c
index 47150fa920..ebcc817da4 100644
--- a/aclk/agent_cloud_link.c
+++ b/aclk/agent_cloud_link.c
@@ -1214,7 +1214,7 @@ inline void aclk_create_header(BUFFER *dest, char *type, char *msg_id, time_t ts
buffer_sprintf(
dest,
- "\t{\"type\": \"%s\",\n"
+ "{\t\"type\": \"%s\",\n"
"\t\"msg-id\": \"%s\",\n"
"\t\"timestamp\": %ld,\n"
"\t\"timestamp-offset-usec\": %llu,\n"