mirror of
https://github.com/nextcloud/desktop.git
synced 2024-10-24 21:35:47 +03:00
Use correct stat struct on all platforms.
This commit is contained in:
parent
6882880ba7
commit
32559175c9
1 changed files with 3 additions and 2 deletions
|
@ -107,11 +107,12 @@ static int _csync_check_db_integrity(CSYNC *ctx) {
|
|||
|
||||
|
||||
static int _csync_statedb_check(CSYNC *ctx, const char *statedb) {
|
||||
int fd = -1, rc;
|
||||
int fd = -1;
|
||||
int rc;
|
||||
ssize_t r;
|
||||
char buf[BUF_SIZE] = {0};
|
||||
const _TCHAR *wstatedb;
|
||||
struct stat sb;
|
||||
csync_stat_t sb;
|
||||
|
||||
/* check db version */
|
||||
#ifdef _WIN32
|
||||
|
|
Loading…
Reference in a new issue