summaryrefslogtreecommitdiff
path: root/ftparchive
diff options
context:
space:
mode:
authorDavid Kalnischkies <david@kalnischkies.de>2018-08-29 17:01:25 +0200
committerDavid Kalnischkies <david@kalnischkies.de>2018-08-29 17:51:43 +0200
commitc4862d49bbc30c37f4fca966ac515692e26d93be (patch)
tree59d3fdd94fa88eb80ff929ab10e85020a35914c5 /ftparchive
parent55585d0f93de1a0e60858e594b1b3b46f4a0831f (diff)
Fix typos reported by codespell & spellintian
No user-visible change as it effects mostly code comments and not a single error message, manpage or similar. Reported-By: codespell & spellintian Gbp-Dch: Ignore
Diffstat (limited to 'ftparchive')
-rw-r--r--ftparchive/cachedb.cc2
-rw-r--r--ftparchive/writer.cc2
2 files changed, 2 insertions, 2 deletions
diff --git a/ftparchive/cachedb.cc b/ftparchive/cachedb.cc
index 20903652a..1890c28d0 100644
--- a/ftparchive/cachedb.cc
+++ b/ftparchive/cachedb.cc
@@ -401,7 +401,7 @@ bool CacheDB::LoadContents(bool const &GenOnly)
return true;
}
/*}}}*/
-// CacheDB::GetHashes - Get the hashs /*{{{*/
+// CacheDB::GetHashes - Get the hashes /*{{{*/
static std::string bytes2hex(uint8_t *bytes, size_t length) {
char buf[3];
std::string space;
diff --git a/ftparchive/writer.cc b/ftparchive/writer.cc
index 61489f73a..dbc097af6 100644
--- a/ftparchive/writer.cc
+++ b/ftparchive/writer.cc
@@ -291,7 +291,7 @@ bool FTWScanner::Delink(string &FileName,const char *OriginalPath,
unsigned long long &DeLinkBytes,
unsigned long long const &FileSize)
{
- // See if this isn't an internaly prefix'd file name.
+ // See if this isn't an internally prefix'd file name.
if (InternalPrefix.empty() == false &&
InternalPrefix.length() < FileName.length() &&
stringcmp(FileName.begin(),FileName.begin() + InternalPrefix.length(),