From: Florian Forster Date: Wed, 4 Aug 2010 20:45:17 +0000 (+0200) Subject: amqp plugin: Initialize the port number to 5672. X-Git-Tag: collectd-5.0.0-beta0~28^2~25 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=7a34772b386b6c1483b7709efac631fd8a9aa699;p=collectd.git amqp plugin: Initialize the port number to 5672. --- diff --git a/src/amqp.c b/src/amqp.c index 5f44dfc3..a4324253 100644 --- a/src/amqp.c +++ b/src/amqp.c @@ -45,7 +45,7 @@ #define AMQP_DM_VOLATILE 1 #define AMQP_DM_PERSISTENT 2 -static int port; +static int port = 5672; static char *host = NULL; static char *vhost = NULL; static char *user = NULL;