Skip to content

Commit

Permalink
style(btfs.cc): trim excess whitespace
Browse files Browse the repository at this point in the history
  • Loading branch information
a1346054 authored and johang committed Aug 22, 2021
1 parent 70fcc14 commit 3210332
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/btfs.cc
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,7 @@ setup() {
dirs["/"].insert(x);
else
// Non-root dir <-> children mapping
dirs[parent].insert(x);
dirs[parent].insert(x);

parent += "/";
parent += x;
Expand Down Expand Up @@ -834,8 +834,8 @@ populate_metadata(libtorrent::add_torrent_params& p, const char *arg) {
CURL *ch = curl_easy_init();

curl_easy_setopt(ch, CURLOPT_URL, uri.c_str());
curl_easy_setopt(ch, CURLOPT_WRITEFUNCTION, handle_http);
curl_easy_setopt(ch, CURLOPT_WRITEDATA, (void *) &output);
curl_easy_setopt(ch, CURLOPT_WRITEFUNCTION, handle_http);
curl_easy_setopt(ch, CURLOPT_WRITEDATA, (void *) &output);
curl_easy_setopt(ch, CURLOPT_USERAGENT, "btfs/" VERSION);
curl_easy_setopt(ch, CURLOPT_FOLLOWLOCATION, 1);

Expand Down

0 comments on commit 3210332

Please sign in to comment.