From c783ec7618c1188b009f2badce473615d01b4b24 Mon Sep 17 00:00:00 2001 From: Toon Schoenmakers Date: Mon, 2 Nov 2015 17:53:43 +0100 Subject: [PATCH] When building the address url, username and password should be split with a colon --- include/address.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/address.h b/include/address.h index f937b84..fb7581d 100644 --- a/include/address.h +++ b/include/address.h @@ -172,7 +172,7 @@ public: std::string str("amqp://"); // append login - str.append(_login.user()).append("@").append(_login.password()).append("@").append(_hostname); + str.append(_login.user()).append(":").append(_login.password()).append("@").append(_hostname); // do we need a special portnumber? if (_port != 5672) str.append(":").append(std::to_string(_port));