Code

amqp: fix symbol lookup error with librabbitmq >= 0.4.0
authorMarc Fournier <marc.fournier@camptocamp.com>
Tue, 21 Jan 2014 09:24:53 +0000 (10:24 +0100)
committerMarc Fournier <marc.fournier@camptocamp.com>
Tue, 21 Jan 2014 09:24:53 +0000 (10:24 +0100)
commit8d2726baaa71d65bc70e76adeb2aa33bcd4f1421
tree9ecd584717036531712430c811cf5e9daa09a771
parent3496d684b96cb1bb87f67dfc7f2c7035042878f8
amqp: fix symbol lookup error with librabbitmq >= 0.4.0

amqp_socket_close() which we were using isn't exported anymore.
See https://github.com/alanxz/rabbitmq-c/commit/bdda7ab

amqp_destroy_connection() implicitly closes the socket, so we don't need
to bother about this if using librabbitmq >= 0.4.0

credits to @tokkee for figuring that out !
src/amqp.c