Skip to content

Commit a563f04

Browse files
committed
Double quotes for the win
1 parent 4561cc6 commit a563f04

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/flamegpu/io/Telemetry.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -272,8 +272,8 @@ bool Telemetry::sendData(std::string telemetry_data) {
272272
curl_command << " --connect-timeout 0.5";
273273
// Maximum total duration for the curl call, including connection and payload
274274
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'";
275+
curl_command << " -X POST \"" << std::string(TELEMETRY_ENDPOINT) << "\"";
276+
curl_command << " -H \"Content-Type: application/json; charset=utf-8\"";
277277
curl_command << " --data-raw \"" << telemetry_data << "\"";
278278
curl_command << " > " << null << " 2>&1";
279279
// capture the return value

0 commit comments

Comments
 (0)