diff --git a/README.md b/README.md index 1953de1f8..460028f6d 100644 --- a/README.md +++ b/README.md @@ -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 @@ -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 @@ -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 diff --git a/libtransmission/peer-mgr.cc b/libtransmission/peer-mgr.cc index 34ae60394..1a6a10f41 100644 --- a/libtransmission/peer-mgr.cc +++ b/libtransmission/peer-mgr.cc @@ -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) {