Skip to content

Commit d6a138a

Browse files
author
virco
committed
fix
1 parent 68f262e commit d6a138a

File tree

4 files changed

+10
-10
lines changed

4 files changed

+10
-10
lines changed

gitcommit.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
#ifndef _GITCOMMIT_H
22
#define _GITCOMMIT_H
33

4-
#define GIT_PREV_COMMIT_ID "68aecf4e16335cf14b50e104f70c958a57cf8329"
5-
#define GIT_PREV_COMMIT_DATE "2016-12-06 17:10:25 +0200"
6-
#define GIT_COMMIT_DATE "2016-12-09 18:51:39 +0200"
4+
#define GIT_PREV_COMMIT_ID "68f262e6efc971219fbe6fe7aac5a27a59e9f129"
5+
#define GIT_PREV_COMMIT_DATE "2016-12-09 18:51:38 +0200"
6+
#define GIT_COMMIT_DATE "2016-12-11 16:25:58 +0200"
77

88
#endif

ppagecache.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3046,8 +3046,8 @@ static void psync_pagecache_modify_to_cache(uint64_t taskid, uint64_t hash, uint
30463046
// we covered full new page and full old page cases, so this interval either ends or starts inside current page
30473047
assert((interval->to>off && interval->to<=off+PSYNC_FS_PAGE_SIZE) || (interval->from>=off && interval->from<off+PSYNC_FS_PAGE_SIZE));
30483048
page=psync_pagecache_get_free_page(1);
3049-
// pdb=check_page_in_memory_by_hash(oldhash, pageid, page->page, PSYNC_FS_PAGE_SIZE, 0);
3050-
// if (pdb==-1)
3049+
pdb=check_page_in_memory_by_hash(oldhash, pageid, page->page, PSYNC_FS_PAGE_SIZE, 0);
3050+
if (pdb==-1)
30513051
pdb=check_page_in_database_by_hash(oldhash, pageid, page->page, PSYNC_FS_PAGE_SIZE, 0);
30523052
if (pdb==-1){
30533053
psync_pagecache_return_free_page(page);

psettings.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@
117117
#define PSYNC_LOCALSCAN_RESCAN_NOTIFY_SUPPORTED 3600
118118
#define PSYNC_MIN_INTERVAL_RECALC_DOWNLOAD 2
119119
#define PSYNC_MIN_INTERVAL_RECALC_UPLOAD 5
120-
#define PSYNC_UPLOAD_NOWRITE_TIMER 5
120+
#define PSYNC_UPLOAD_NOWRITE_TIMER 30
121121

122122
#define PSYNC_APIPOOL_MAXIDLE 24
123123
#define PSYNC_APIPOOL_MAXACTIVE 36

pssl-mbedtls.h

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/* Copyright (c) 2015 Anton Titov.
22
* Copyright (c) 2015 pCloud Ltd.
33
* All rights reserved.
4-
*
4+
*
55
* Redistribution and use in source and binary forms, with or without
66
* modification, are permitted provided that the following conditions are met:
77
* * Redistributions of source code must retain the above copyright
@@ -12,7 +12,7 @@
1212
* * Neither the name of pCloud Ltd nor the
1313
* names of its contributors may be used to endorse or promote products
1414
* derived from this software without specific prior written permission.
15-
*
15+
*
1616
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
1717
* ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
1818
* WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
@@ -140,7 +140,7 @@ static inline void psync_aes256_decode_2blocks_consec(psync_aes256_decoder enc,
140140
aes_crypt_ecb(enc, AES_DECRYPT, src+PSYNC_AES256_BLOCK_SIZE, dst+PSYNC_AES256_BLOCK_SIZE);
141141
}
142142

143-
static inline void void psync_aes256_decode_4blocks_consec_xor(psync_aes256_decoder enc, const unsigned char *src, unsigned char *dst, unsigned char *bxor){
143+
static inline void psync_aes256_decode_4blocks_consec_xor(psync_aes256_decoder enc, const unsigned char *src, unsigned char *dst, unsigned char *bxor){
144144
unsigned long i;
145145
aes_crypt_ecb(enc, AES_DECRYPT, src, dst);
146146
aes_crypt_ecb(enc, AES_DECRYPT, src+PSYNC_AES256_BLOCK_SIZE, dst+PSYNC_AES256_BLOCK_SIZE);
@@ -154,4 +154,4 @@ static inline void void psync_aes256_decode_4blocks_consec_xor(psync_aes256_deco
154154

155155

156156

157-
#endif
157+
#endif

0 commit comments

Comments
 (0)