Skip to content

Commit

Permalink
clang format
Browse files Browse the repository at this point in the history
  • Loading branch information
xiaobfly committed Jul 9, 2024
1 parent 4fbd519 commit 8c6ec44
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions librabbitmq/amqp_connection.c
Original file line number Diff line number Diff line change
Expand Up @@ -279,8 +279,7 @@ int amqp_handle_input(amqp_connection_state_t state, amqp_bytes_t received_data,
return AMQP_STATUS_NO_MEMORY;
}

amqp_pool_alloc_bytes(channel_pool, frame_size,
&state->inbound_buffer);
amqp_pool_alloc_bytes(channel_pool, frame_size, &state->inbound_buffer);
if (NULL == state->inbound_buffer.bytes) {
return AMQP_STATUS_NO_MEMORY;
}
Expand Down

0 comments on commit 8c6ec44

Please sign in to comment.