minor - removes leading whitespace before JSON in ACLK (#9998)
avoids extra processing on the Cloud side (skipping of whitespace)
Timotej S committed
Sep 28, 2020 at 20:30 UTC
aa997abd9b72504bdb7d6065d8832cfb46825e7d
1 file changed
+1
-1
aclk/agent_cloud_link.c
+1
-1
@@ -1214,7 +1214,7 @@ inline void aclk_create_header(BUFFER *dest, char *type, char *msg_id, time_t ts
1214
1215
buffer_sprintf(
1216
dest,
1217
- "\t{\"type\": \"%s\",\n"
1217
+ "{\t\"type\": \"%s\",\n"
1218
"\t\"msg-id\": \"%s\",\n"
1219
"\t\"timestamp\": %ld,\n"
1220
"\t\"timestamp-offset-usec\": %llu,\n"