Skip to content

Commit

Permalink
Removed erroneous bracket in log output via logcat (#624)
Browse files Browse the repository at this point in the history
  • Loading branch information
Justin Boswell authored Apr 15, 2020
1 parent 937a0da commit f71fc50
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/android/logging.c
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ static int s_logcat_format(struct logcat_format_data *formatting_data, va_list a
return AWS_OP_ERR;
}
int thread_id_written =
snprintf(formatting_data->buffer + current_index, fake_total_length - current_index, "] [%s] ", thread_id);
snprintf(formatting_data->buffer + current_index, fake_total_length - current_index, "[%s] ", thread_id);
if (thread_id_written < 0) {
return aws_raise_error(AWS_ERROR_INVALID_ARGUMENT);
}
Expand Down

0 comments on commit f71fc50

Please sign in to comment.