diff options
author | Kelly Rauchenberger <fefferburbia@gmail.com> | 2017-09-24 00:53:27 -0400 |
---|---|---|
committer | Kelly Rauchenberger <fefferburbia@gmail.com> | 2017-09-24 00:53:27 -0400 |
commit | 0632b82c82cb26ec942a6b77a95b3b919482b8d4 (patch) | |
tree | db7bacab4c3f68701f20c5e52a26b18d57d9f01f /source/main.c | |
parent | ff8f173b8b6f97443edc4ac4437236378c2589a8 (diff) | |
download | gen3uploader-0632b82c82cb26ec942a6b77a95b3b919482b8d4.tar.gz gen3uploader-0632b82c82cb26ec942a6b77a95b3b919482b8d4.tar.bz2 gen3uploader-0632b82c82cb26ec942a6b77a95b3b919482b8d4.zip |
Fixed transfer of contest stats
Diffstat (limited to 'source/main.c')
-rw-r--r-- | source/main.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/source/main.c b/source/main.c index 64e6cba..f066a7d 100644 --- a/source/main.c +++ b/source/main.c | |||
@@ -379,32 +379,32 @@ void* extractor(void* userdata) | |||
379 | cJSON_AddNumberToObject( | 379 | cJSON_AddNumberToObject( |
380 | jPoke, | 380 | jPoke, |
381 | "coolness", | 381 | "coolness", |
382 | __builtin_bswap32(pki->cool)); | 382 | pki->cool); |
383 | 383 | ||
384 | cJSON_AddNumberToObject( | 384 | cJSON_AddNumberToObject( |
385 | jPoke, | 385 | jPoke, |
386 | "beauty", | 386 | "beauty", |
387 | __builtin_bswap32(pki->beauty)); | 387 | pki->beauty); |
388 | 388 | ||
389 | cJSON_AddNumberToObject( | 389 | cJSON_AddNumberToObject( |
390 | jPoke, | 390 | jPoke, |
391 | "cuteness", | 391 | "cuteness", |
392 | __builtin_bswap32(pki->cute)); | 392 | pki->cute); |
393 | 393 | ||
394 | cJSON_AddNumberToObject( | 394 | cJSON_AddNumberToObject( |
395 | jPoke, | 395 | jPoke, |
396 | "smartness", | 396 | "smartness", |
397 | __builtin_bswap32(pki->smart)); | 397 | pki->smart); |
398 | 398 | ||
399 | cJSON_AddNumberToObject( | 399 | cJSON_AddNumberToObject( |
400 | jPoke, | 400 | jPoke, |
401 | "toughness", | 401 | "toughness", |
402 | __builtin_bswap32(pki->tough)); | 402 | pki->tough); |
403 | 403 | ||
404 | cJSON_AddNumberToObject( | 404 | cJSON_AddNumberToObject( |
405 | jPoke, | 405 | jPoke, |
406 | "sheen", | 406 | "sheen", |
407 | __builtin_bswap32(pki->sheen)); | 407 | pki->sheen); |
408 | 408 | ||
409 | cJSON_AddItemToObject( | 409 | cJSON_AddItemToObject( |
410 | jPoke, | 410 | jPoke, |