We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4561cc6 commit a563f04Copy full SHA for a563f04
1 file changed
src/flamegpu/io/Telemetry.cpp
@@ -272,8 +272,8 @@ bool Telemetry::sendData(std::string telemetry_data) {
272
curl_command << " --connect-timeout 0.5";
273
// Maximum total duration for the curl call, including connection and payload
274
curl_command << " --max-time 1.0";
275
- curl_command << " -X POST '" << std::string(TELEMETRY_ENDPOINT) << "'";
276
- curl_command << " -H 'Content-Type: application/json; charset=utf-8'";
+ curl_command << " -X POST \"" << std::string(TELEMETRY_ENDPOINT) << "\"";
+ curl_command << " -H \"Content-Type: application/json; charset=utf-8\"";
277
curl_command << " --data-raw \"" << telemetry_data << "\"";
278
curl_command << " > " << null << " 2>&1";
279
// capture the return value
0 commit comments