X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Famqp.c;h=861cb5cb6c412d3f63711083d3c017e09d4299dc;hb=65ce17c396d1421807429f153d8d5302ad5d2a92;hp=e5a2d79eb61d07d50367a696f6b5dc1595e5b302;hpb=8d2726baaa71d65bc70e76adeb2aa33bcd4f1421;p=collectd.git diff --git a/src/amqp.c b/src/amqp.c index e5a2d79e..861cb5cb 100644 --- a/src/amqp.c +++ b/src/amqp.c @@ -422,7 +422,7 @@ static int camqp_connect (camqp_config_t *conf) /* {{{ */ } #ifdef HAVE_AMQP_TCP_SOCKET -# define CLOSE_SOCKET() // amqp_destroy_connection() closes the socket for us +# define CLOSE_SOCKET() /* amqp_destroy_connection() closes the socket for us */ /* TODO: add support for SSL using amqp_ssl_socket_new * and related functions */ socket = amqp_tcp_socket_new (conf->connection);