Code

amqp plugin: Initialize the port number to 5672.
authorFlorian Forster <octo@leeloo.lan.home.verplant.org>
Wed, 4 Aug 2010 20:45:17 +0000 (22:45 +0200)
committerFlorian Forster <octo@leeloo.lan.home.verplant.org>
Wed, 4 Aug 2010 20:45:17 +0000 (22:45 +0200)
src/amqp.c

index 5f44dfc3779b7209810bbb45b0e81009ed6abbf2..a432425330ffb74cae25d5ed59b61716a02cf881 100644 (file)
@@ -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;