char *level_name = getEscapedJSON(level.name);
char *level_author = getEscapedJSON(level.author);
char *player_name = getEscapedJSON(score_entry->name);
+ char *player_uuid = getEscapedJSON(setup.player_uuid);
+ char *system_uuid = getEscapedJSON(setup.system_uuid);
snprintf(request->body, MAX_HTTP_BODY_SIZE,
"{\n"
" \"level_author\": \"%s\",\n"
" \"rate_time_over_score\": \"%d\",\n"
" \"player_name\": \"%s\",\n"
+ " \"player_uuid\": \"%s\",\n"
+ " \"system_uuid\": \"%s\",\n"
" \"score\": \"%d\",\n"
" \"time\": \"%d\",\n"
" \"tape_basename\": \"%s\",\n"
level_author,
level.rate_time_over_score,
player_name,
+ player_uuid,
+ system_uuid,
score_entry->score,
score_entry->time,
score_entry->tape_basename,
checked_free(level_name);
checked_free(level_author);
checked_free(player_name);
+ checked_free(player_uuid);
+ checked_free(system_uuid);
ConvertHttpRequestBodyToServerEncoding(request);