OK, I'm update this. Thanks.


2013/11/6 Alan Antonuk <notifications@github.com>

> In librabbitmq/amqp_socket.c:
>
> > +    return AMQP_STATUS_NO_MEMORY;
> > +  }
> > +
> > +  link = amqp_pool_alloc(channel_pool, sizeof(amqp_link_t));
> > +  frame_copy = amqp_pool_alloc(channel_pool, sizeof(amqp_frame_t));
> > +
> > +  if (NULL == link || NULL == frame_copy) {
> > +    return AMQP_STATUS_NO_MEMORY;
> > +  }
> > +
> > +  *frame_copy = *frame;
> > +  link->data = frame_copy;
> > +
> > +  if (NULL == state->first_queued_frame) {
> > +    state->first_queued_frame = link;
> > +	state->last_queued_frame = link;
>
> Please follow the indentation in the rest of the file (2-spaces per
> indentation level), this line, and 846, 848, 849 should be indented 4
> spaces.
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/alanxz/rabbitmq-c/pull/150/files#r7454885>
> .
>