Patch amqp-binary-messages for amqp Bug #61749
Patch version 2012-04-17 17:40 UTC
Return to Bug #61749 |
Download this patch
Patch Revisions:
Developer: mls@o2.pl
diff -irwbB a/amqp_envelope.c b/amqp_envelope.c
216c216
< RETURN_STRING(envelope->body, 1);
---
> RETURN_STRINGL(envelope->body, envelope->body_size, 1);
diff -irwbB a/amqp_queue.c b/amqp_queue.c
206a207
> zval_dtor(envelopeZval);
376a378
> envelope->body_size = body_target;
diff -irwbB a/php_amqp.h b/php_amqp.h
323a324
> size_t body_size;
|