mirror of
https://github.com/nextcloud/desktop.git
synced 2025-10-26 11:17:43 +00:00
Fix typos.
Debian has a list of known typos in their checking tools. Signed-off-by: Sandro Knauß <hefee@debian.org>
This commit is contained in:
parent
0082ff90df
commit
6cdae6c19e
@ -10,7 +10,7 @@ set(CMAKE_INCLUDE_CURRENT_DIR ON)
|
||||
|
||||
# Put the include dirs which are in the source or build tree
|
||||
# before all other include dirs, so the headers in the sources
|
||||
# are prefered over the already installed ones
|
||||
# are preferred over the already installed ones
|
||||
# since cmake 2.4.1
|
||||
set(CMAKE_INCLUDE_DIRECTORIES_PROJECT_BEFORE ON)
|
||||
|
||||
|
||||
4
src/3rdparty/sqlite3/sqlite3.c
vendored
4
src/3rdparty/sqlite3/sqlite3.c
vendored
@ -70201,7 +70201,7 @@ static int btreeOverwriteContent(
|
||||
){
|
||||
int nData = pX->nData - iOffset;
|
||||
if( nData<=0 ){
|
||||
/* Overwritting with zeros */
|
||||
/* Overwriting with zeros */
|
||||
int i;
|
||||
for(i=0; i<iAmt && pDest[i]==0; i++){}
|
||||
if( i<iAmt ){
|
||||
@ -91521,7 +91521,7 @@ static int vdbeSorterFlushPMA(VdbeSorter *pSorter){
|
||||
** the background thread from a sub-tasks previous turn is still running,
|
||||
** skip it. If the first (pSorter->nTask-1) sub-tasks are all still busy,
|
||||
** fall back to using the final sub-task. The first (pSorter->nTask-1)
|
||||
** sub-tasks are prefered as they use background threads - the final
|
||||
** sub-tasks are preferred as they use background threads - the final
|
||||
** sub-task uses the main thread. */
|
||||
for(i=0; i<nWorker; i++){
|
||||
int iTest = (pSorter->iPrev + i + 1) % nWorker;
|
||||
|
||||
@ -80,7 +80,7 @@ void ClientProxy::setupQtProxyFromConfig()
|
||||
QNetworkProxy::setApplicationProxy(QNetworkProxy::NoProxy);
|
||||
break;
|
||||
case QNetworkProxy::DefaultProxy:
|
||||
qCInfo(lcClientProxy) << "Set proxy configuration to use the prefered system proxy for http tcp connections";
|
||||
qCInfo(lcClientProxy) << "Set proxy configuration to use the preferred system proxy for http tcp connections";
|
||||
{
|
||||
QNetworkProxyQuery query;
|
||||
query.setProtocolTag("http");
|
||||
|
||||
@ -589,7 +589,7 @@ QByteArray encryptStringAsymmetric(EVP_PKEY *publicKey, const QByteArray& data)
|
||||
qCInfo(lcCse()) << "Error retrieving the size of the encrypted data";
|
||||
exit(1);
|
||||
} else {
|
||||
qCInfo(lcCse()) << "Encrption Length:" << outLen;
|
||||
qCInfo(lcCse()) << "Encryption Length:" << outLen;
|
||||
}
|
||||
|
||||
unsigned char *out = (uchar*) OPENSSL_malloc(outLen);
|
||||
@ -623,7 +623,7 @@ void ClientSideEncryption::initialize()
|
||||
{
|
||||
qCInfo(lcCse()) << "Initializing";
|
||||
if (!_account->capabilities().clientSideEncryptionAvaliable()) {
|
||||
qCInfo(lcCse()) << "No Client side encryption avaliable on server.";
|
||||
qCInfo(lcCse()) << "No Client side encryption available on server.";
|
||||
emit initializationFinished();
|
||||
return;
|
||||
}
|
||||
@ -1376,7 +1376,7 @@ bool EncryptionHelper::fileEncryption(const QByteArray &key, const QByteArray &i
|
||||
qCDebug(lcCse) << "Could not open input file for reading" << input->errorString();
|
||||
}
|
||||
if (!output->open(QIODevice::WriteOnly)) {
|
||||
qCDebug(lcCse) << "Could not oppen output file for writting" << output->errorString();
|
||||
qCDebug(lcCse) << "Could not oppen output file for writing" << output->errorString();
|
||||
}
|
||||
|
||||
// Init
|
||||
|
||||
@ -242,7 +242,7 @@ void PropagateUploadEncrypted::slotFolderLockedError(const QByteArray& fileId, i
|
||||
|
||||
// Perhaps I should remove the elapsed timer if the lock is from this client?
|
||||
if (_folderLockFirstTry.elapsed() > /* five minutes */ 1000 * 60 * 5 ) {
|
||||
qCDebug(lcPropagateUploadEncrypted) << "One minute passed, ignoring more attemps to lock the folder.";
|
||||
qCDebug(lcPropagateUploadEncrypted) << "One minute passed, ignoring more attempts to lock the folder.";
|
||||
return;
|
||||
}
|
||||
slotTryLock(fileId);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user