fix compile errors
This commit is contained in:
parent
95cbf63a57
commit
b2723f6203
|
|
@ -1878,7 +1878,7 @@ int psync_pcloud_crypto_reencode_key(
|
|||
goto err_bk_1;
|
||||
}
|
||||
|
||||
if (!crypto_keys_match(pub, priv))
|
||||
if (!crypto_keys_match())
|
||||
goto err_ph_2;
|
||||
psync_sha256(newpriv, newprivlen, newprivsha);
|
||||
rsasign = prsa_sign_sha256_hash(priv, newprivsha);
|
||||
|
|
|
|||
|
|
@ -46,7 +46,9 @@
|
|||
static pthread_mutex_t devmon_mutex = PTHREAD_MUTEX_INITIALIZER;
|
||||
static psync_timer_t devmon_activity_timer = NULL;
|
||||
|
||||
static void on_timer_activity() {
|
||||
static void on_timer_activity(psync_timer_t timer, void *ptr) {
|
||||
(void)timer;
|
||||
(void)ptr;
|
||||
ptimer_stop(devmon_activity_timer);
|
||||
pthread_mutex_lock(&devmon_mutex);
|
||||
devmon_activity_timer = NULL;
|
||||
|
|
|
|||
|
|
@ -477,7 +477,7 @@ static int stat_and_create_local(psync_syncid_t syncid, psync_fileid_t fileid,
|
|||
psql_bind_uint(sql, 1, localfileid);
|
||||
psql_run_free(sql);
|
||||
}
|
||||
psql_commit(sql);
|
||||
psql_commit();
|
||||
pfile_delete(name);
|
||||
if (row)
|
||||
pdbg_logf(D_NOTICE,
|
||||
|
|
|
|||
Loading…
Reference in New Issue