mirror of
https://github.com/eclipse/paho.mqtt.cpp.git
synced 2025-05-09 19:31:22 +08:00
#426 Update properties when moving/copying connect options.
This commit is contained in:
parent
147554f18d
commit
5ff5484559
@ -152,6 +152,10 @@ void connect_options::update_c_struct()
|
||||
opts_.serverURIs = serverURIs_->c_arr();
|
||||
}
|
||||
|
||||
// Connect Properties
|
||||
|
||||
opts_.connectProperties = const_cast<MQTTProperties*>(&props_.c_struct());
|
||||
|
||||
// HTTP & Proxy
|
||||
|
||||
opts_.httpProxy = c_str(httpProxy_);
|
||||
|
Loading…
x
Reference in New Issue
Block a user