mirror of
https://github.com/ZeroTier/ZeroTierOne
synced 2025-07-15 01:23:14 -07:00
use std::string instead of const char* in rmq struct
This commit is contained in:
parent
74478b24b0
commit
cc79ec6179
3 changed files with 11 additions and 9 deletions
|
@ -990,9 +990,9 @@ public:
|
|||
fprintf(stderr, "Reading RabbitMQ Config\n");
|
||||
_mqc = new MQConfig;
|
||||
_mqc->port = rmq["port"];
|
||||
_mqc->host = OSUtils::jsonString(rmq["host"], "").c_str();
|
||||
_mqc->username = OSUtils::jsonString(rmq["username"], "").c_str();
|
||||
_mqc->password = OSUtils::jsonString(rmq["password"], "").c_str();
|
||||
_mqc->host = OSUtils::jsonString(rmq["host"], "");
|
||||
_mqc->username = OSUtils::jsonString(rmq["username"], "");
|
||||
_mqc->password = OSUtils::jsonString(rmq["password"], "");
|
||||
}
|
||||
|
||||
// Bind to wildcard instead of to specific interfaces (disables full tunnel capability)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue