Open Epse opened 1 year ago
In HttpHelper, URLs are passed to libcurl as std::string, where they should be char pointers, thus breaking things like CPDLC, due to libcurl errors. The std::string.c_str() method is exactly what's needed here.
std::string
std::string.c_str()
See: https://github.com/pierr3/vSMR/blob/e696e0932af07cfa16068ffbb843ad13c7882266/vSMR/HttpHelper.cpp#L32
If some more time can be given, I can prepare a patch to fix this.
In HttpHelper, URLs are passed to libcurl as
std::string
, where they should be char pointers, thus breaking things like CPDLC, due to libcurl errors. Thestd::string.c_str()
method is exactly what's needed here.See: https://github.com/pierr3/vSMR/blob/e696e0932af07cfa16068ffbb843ad13c7882266/vSMR/HttpHelper.cpp#L32
If some more time can be given, I can prepare a patch to fix this.