1
0
Fork 0
mirror of https://github.com/transmission/transmission synced 2025-01-03 13:35:36 +00:00
This commit is contained in:
luzpaz 2023-09-10 23:31:49 -04:00 committed by GitHub
parent 92c8c41c0b
commit 3be0d728dd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 4 deletions

View file

@ -35,7 +35,7 @@ For a more detailed description, and dependencies, visit [How to Build Transmiss
$ cd transmission-3.00 $ cd transmission-3.00
$ mkdir build $ mkdir build
$ cd build $ cd build
# Use -DCMAKE_BUILD_TYPE=RelWithDebInfo to build optimzed binary with debug information. (preferred) # Use -DCMAKE_BUILD_TYPE=RelWithDebInfo to build optimized binary with debug information. (preferred)
# Use -DCMAKE_BUILD_TYPE=Release to build full optimized binary. # Use -DCMAKE_BUILD_TYPE=Release to build full optimized binary.
$ cmake -DCMAKE_BUILD_TYPE=RelWithDebInfo .. $ cmake -DCMAKE_BUILD_TYPE=RelWithDebInfo ..
$ make $ make
@ -54,7 +54,7 @@ If you're new to building programs from source code, this is typically easier th
$ git submodule update --init --recursive $ git submodule update --init --recursive
$ mkdir build $ mkdir build
$ cd build $ cd build
# Use -DCMAKE_BUILD_TYPE=RelWithDebInfo to build optimzed binary with debug information. (preferred) # Use -DCMAKE_BUILD_TYPE=RelWithDebInfo to build optimized binary with debug information. (preferred)
# Use -DCMAKE_BUILD_TYPE=Release to build full optimized binary. # Use -DCMAKE_BUILD_TYPE=Release to build full optimized binary.
$ cmake -DCMAKE_BUILD_TYPE=RelWithDebInfo .. $ cmake -DCMAKE_BUILD_TYPE=RelWithDebInfo ..
$ make $ make
@ -67,7 +67,7 @@ If you're new to building programs from source code, this is typically easier th
$ git submodule foreach --recursive git clean -xfd $ git submodule foreach --recursive git clean -xfd
$ git pull --rebase --prune $ git pull --rebase --prune
$ git submodule update --init --recursive $ git submodule update --init --recursive
# Use -DCMAKE_BUILD_TYPE=RelWithDebInfo to build optimzed binary with debug information. (preferred) # Use -DCMAKE_BUILD_TYPE=RelWithDebInfo to build optimized binary with debug information. (preferred)
# Use -DCMAKE_BUILD_TYPE=Release to build full optimized binary. # Use -DCMAKE_BUILD_TYPE=Release to build full optimized binary.
$ cmake -DCMAKE_BUILD_TYPE=RelWithDebInfo .. $ cmake -DCMAKE_BUILD_TYPE=RelWithDebInfo ..
$ make $ make

View file

@ -2358,7 +2358,7 @@ struct peer_candidate
candidates.resize(max); candidates.resize(max);
} }
// put the best candiates at the end of the list // put the best candidates at the end of the list
auto ret = tr_peerMgr::OutboundCandidates{}; auto ret = tr_peerMgr::OutboundCandidates{};
for (auto it = std::crbegin(candidates), end = std::crend(candidates); it != end; ++it) for (auto it = std::crbegin(candidates), end = std::crend(candidates); it != end; ++it)
{ {