Skip to content

Commit 9232c03

Browse files
committed
Fixed compilation issue
1 parent 5d531a9 commit 9232c03

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/network.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -310,7 +310,7 @@ bool network_send_buffer (network_data *data, const char *endpoint, const char *
310310
}
311311

312312
// Set headers if needed (S3 pre-signed URLs usually do not require additional headers)
313-
struct curl_slist *tmp = curl_slist_append(headers, "Content-Type: application/octet-stream");
313+
tmp = curl_slist_append(headers, "Content-Type: application/octet-stream");
314314
if (!tmp) {rc = CURLE_OUT_OF_MEMORY; goto cleanup;}
315315
headers = tmp;
316316

0 commit comments

Comments
 (0)