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 5f44dfc..a432425 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;