From: Sebastian Harl Date: Wed, 22 Jan 2014 12:29:53 +0000 (+0100) Subject: amqp plugin: Don't use C++ style comments. X-Git-Tag: collectd-5.4.1~1^2~1^2~1 X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=65ce17c396d1421807429f153d8d5302ad5d2a92;p=collectd.git amqp plugin: Don't use C++ style comments. --- 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);