php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login

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;
 
PHP Copyright © 2001-2021 The PHP Group
All rights reserved.
Last updated: Mon Oct 18 20:03:33 2021 UTC