Skip to content

Commit

Permalink
Fix typos (transmission#5980)
Browse files Browse the repository at this point in the history
  • Loading branch information
luzpaz authored Sep 11, 2023
1 parent 92c8c41 commit 3be0d72
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ For a more detailed description, and dependencies, visit [How to Build Transmiss
$ cd transmission-3.00
$ mkdir 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.
$ cmake -DCMAKE_BUILD_TYPE=RelWithDebInfo ..
$ make
Expand All @@ -54,7 +54,7 @@ If you're new to building programs from source code, this is typically easier th
$ git submodule update --init --recursive
$ mkdir 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.
$ cmake -DCMAKE_BUILD_TYPE=RelWithDebInfo ..
$ make
Expand All @@ -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 pull --rebase --prune
$ 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.
$ cmake -DCMAKE_BUILD_TYPE=RelWithDebInfo ..
$ make
Expand Down
2 changes: 1 addition & 1 deletion libtransmission/peer-mgr.cc
Original file line number Diff line number Diff line change
Expand Up @@ -2358,7 +2358,7 @@ struct peer_candidate
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{};
for (auto it = std::crbegin(candidates), end = std::crend(candidates); it != end; ++it)
{
Expand Down

0 comments on commit 3be0d72

Please sign in to comment.