Commit e3c8177b authored by Sylvain Berfini's avatar Sylvain Berfini 🎩

Fixed missing quotes around linphone specs list

parent d42985e2
......@@ -716,7 +716,10 @@ belle_sip_header_contact_t *SalOp::createContact () {
if (!mRoot->mLinphoneSpecs.empty()
&& !belle_sip_parameters_has_parameter(BELLE_SIP_PARAMETERS(contactHeader), "+org.linphone.specs")
) {
belle_sip_parameters_set_parameter(BELLE_SIP_PARAMETERS(contactHeader), "+org.linphone.specs", mRoot->mLinphoneSpecs.c_str());
stringstream ss;
ss << "\"" << mRoot->mLinphoneSpecs << "\"";
string specs = ss.str();
belle_sip_parameters_set_parameter(BELLE_SIP_PARAMETERS(contactHeader), "+org.linphone.specs", specs.c_str());
}
return contactHeader;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment