Skip to content

Commit

Permalink
Merge pull request #38 from NebulousLabs/agent
Browse files Browse the repository at this point in the history
set agent to Sia-Agent
  • Loading branch information
lukechampine committed Oct 8, 2015
2 parents 034c451 + 8090e1c commit d6b413d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions network.c
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,7 @@ int get_header_for_work(uint8_t *target, uint8_t *header) {

// Get data from siad
curl_easy_reset(curl);
curl_easy_setopt(curl, CURLOPT_USERAGENT, "Sia-Agent");
curl_easy_setopt(curl, CURLOPT_URL, bfw_url);
curl_easy_setopt(curl, CURLOPT_WRITEFUNCTION, writefunc);
curl_easy_setopt(curl, CURLOPT_WRITEDATA, &inBuf);
Expand Down

0 comments on commit d6b413d

Please sign in to comment.