We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 55fda6d commit 835470fCopy full SHA for 835470f
1 file changed
source/s3_request.c
@@ -38,7 +38,7 @@ struct aws_s3_request *aws_s3_request_new(
38
request->part_number = part_number;
39
request->record_response_headers = (flags & AWS_S3_REQUEST_FLAG_RECORD_RESPONSE_HEADERS) != 0;
40
request->should_allocate_buffer_from_pool = (flags & AWS_S3_REQUEST_FLAG_ALLOCATE_BUFFER_FROM_POOL) != 0;
41
- request->has_buffer_ticket_for_response = (flags & AWS_S3_REQUEST_FLAG_RESPONSE_ALLOCATED_FROM_POOL;)
+ request->has_buffer_ticket_for_response = (flags & AWS_S3_REQUEST_FLAG_RESPONSE_ALLOCATED_FROM_POOL) != 0;
42
request->always_send = (flags & AWS_S3_REQUEST_FLAG_ALWAYS_SEND) != 0;
43
44
return request;
0 commit comments