Skip to content

Commit

Permalink
initialize consumer tag string length to zero
Browse files Browse the repository at this point in the history
  • Loading branch information
bkw committed Nov 9, 2012
1 parent 32ad09f commit 990ab30
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion amqp_queue.c
Original file line number Diff line number Diff line change
Expand Up @@ -933,7 +933,7 @@ PHP_METHOD(amqp_queue_class, consume)
amqp_table_t *arguments;

char *consumer_tag;
int consumer_tag_len;
int consumer_tag_len = 0;
amqp_bytes_t consumer_tag_bytes;
long flags = INI_INT("amqp.auto_ack") ? AMQP_AUTOACK : AMQP_NOPARAM;

Expand Down

0 comments on commit 990ab30

Please sign in to comment.