When building the address url, username and password should be split with a colon

This commit is contained in:
Toon Schoenmakers 2015-11-02 17:53:43 +01:00
parent 875300dbce
commit c783ec7618
1 changed files with 1 additions and 1 deletions

View File

@ -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));