File tree Expand file tree Collapse file tree 1 file changed +9
-9
lines changed Expand file tree Collapse file tree 1 file changed +9
-9
lines changed Original file line number Diff line number Diff line change 59
59
#define AMQP_INITIAL_INBOUND_SOCK_BUFFER_SIZE 131072
60
60
#endif
61
61
62
-
63
- #define ENFORCE_STATE ( statevec , statenum ) \
64
- { \
65
- amqp_connection_state_t _check_state = (statevec); \
66
- size_t _wanted_state = (statenum); \
67
- if (_check_state->state != _wanted_state) \
68
- amqp_abort( "Programming error: invalid AMQP connection state: expected %d, got %d", \
69
- _wanted_state, \
70
- _check_state->state); \
62
+ #define ENFORCE_STATE ( statevec , statenum ) \
63
+ { \
64
+ amqp_connection_state_t _check_state = (statevec); \
65
+ amqp_connection_state_enum _wanted_state = (statenum); \
66
+ if (_check_state->state != _wanted_state) \
67
+ amqp_abort( \
68
+ "Programming error: invalid AMQP connection state: expected %d, " \
69
+ "got %d", \
70
+ _wanted_state, _check_state->state); \
71
71
}
72
72
73
73
amqp_connection_state_t amqp_new_connection (void )
You can’t perform that action at this time.
0 commit comments