Skip to content

Instantly share code, notes, and snippets.

@prufrock
Created November 7, 2010 20:27
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save prufrock/666401 to your computer and use it in GitHub Desktop.
Save prufrock/666401 to your computer and use it in GitHub Desktop.
A patch for amqp.c in the PHP AMQP extension hosted on PECL.
964c964
< if (result <= 0) {
---
> if (result < 0) {
977c977
< if (result <= 0) {
---
> if (result < 0) {
994c994
< if (result <= 0) {
---
> if (result < 0) {
1081,1082c1081,1082
< if (result <= 0) {
< RETURN_FALSE;
---
> if (result < 0) {
> return;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment