Skip to content

Commit

Permalink
non GNU C compilers get pissed about this.
Browse files Browse the repository at this point in the history
  • Loading branch information
postwait committed Dec 20, 2009
1 parent e02d472 commit 0e25f35
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions librabbitmq/amqp_api.c
Original file line number Diff line number Diff line change
Expand Up @@ -295,7 +295,7 @@ amqp_tx_commit_ok_t *amqp_tx_commit(amqp_connection_state_t state,
amqp_rpc_reply = amqp_get_rpc_reply();
*amqp_rpc_reply =
AMQP_SIMPLE_RPC(state, channel, TX, COMMIT, COMMIT_OK,
amqp_tx_commit_t);
amqp_tx_commit_t, 0);
return RPC_REPLY(amqp_tx_commit_ok_t);
}

Expand All @@ -307,7 +307,7 @@ amqp_tx_rollback_ok_t *amqp_tx_rollback(amqp_connection_state_t state,
amqp_rpc_reply = amqp_get_rpc_reply();
*amqp_rpc_reply =
AMQP_SIMPLE_RPC(state, channel, TX, ROLLBACK, ROLLBACK_OK,
amqp_tx_rollback_t);
amqp_tx_rollback_t, 0);
return RPC_REPLY(amqp_tx_rollback_ok_t);
}

Expand All @@ -319,6 +319,6 @@ amqp_basic_return_t *amqp_basic_return(amqp_connection_state_t state,
amqp_rpc_reply = amqp_get_rpc_reply();
*amqp_rpc_reply =
AMQP_SIMPLE_RPC(state, channel, BASIC, RETURN, RETURN,
amqp_basic_return_t);
amqp_basic_return_t, 0);
return RPC_REPLY(amqp_basic_return_t);
}

0 comments on commit 0e25f35

Please sign in to comment.