mirror of
https://github.com/nextcloud/desktop.git
synced 2024-11-23 13:35:58 +03:00
Commented loggings as currently logging is broken.
This commit is contained in:
parent
b428b46ff8
commit
aaa8fe6e34
1 changed files with 2 additions and 2 deletions
|
@ -361,7 +361,7 @@ int csync_vio_local_stat(const char *uri, csync_vio_file_stat_t *buf) {
|
||||||
FILE_ATTRIBUTE_NORMAL+FILE_FLAG_BACKUP_SEMANTICS, NULL );
|
FILE_ATTRIBUTE_NORMAL+FILE_FLAG_BACKUP_SEMANTICS, NULL );
|
||||||
if( h == INVALID_HANDLE_VALUE ) {
|
if( h == INVALID_HANDLE_VALUE ) {
|
||||||
DWORD err = GetLastError();
|
DWORD err = GetLastError();
|
||||||
CSYNC_LOG(CSYNC_LOG_PRIORITY_DEBUG, "ERR: Failed to create a handle for %s: %ld", uri,err );
|
/* CSYNC_LOG(CSYNC_LOG_PRIORITY_DEBUG, "ERR: Failed to create a handle for %s: %ld", uri,err ); */
|
||||||
} else {
|
} else {
|
||||||
FILETIME ftCreate, ftAccess, ftWrite;
|
FILETIME ftCreate, ftAccess, ftWrite;
|
||||||
SYSTEMTIME stUTC;
|
SYSTEMTIME stUTC;
|
||||||
|
@ -389,7 +389,7 @@ int csync_vio_local_stat(const char *uri, csync_vio_file_stat_t *buf) {
|
||||||
buf->fields |= CSYNC_VIO_FILE_STAT_FIELDS_ATIME;
|
buf->fields |= CSYNC_VIO_FILE_STAT_FIELDS_ATIME;
|
||||||
|
|
||||||
buf->mtime = FileTimeToUnixTime(&ftWrite, &rem);
|
buf->mtime = FileTimeToUnixTime(&ftWrite, &rem);
|
||||||
CSYNC_LOG(CSYNC_LOG_PRIORITY_DEBUG, "Local File MTime: %llu", (unsigned long long) buf->mtime );
|
/* CSYNC_LOG(CSYNC_LOG_PRIORITY_DEBUG, "Local File MTime: %llu", (unsigned long long) buf->mtime ); */
|
||||||
buf->fields |= CSYNC_VIO_FILE_STAT_FIELDS_MTIME;
|
buf->fields |= CSYNC_VIO_FILE_STAT_FIELDS_MTIME;
|
||||||
|
|
||||||
buf->ctime = FileTimeToUnixTime(&ftCreate, &rem);
|
buf->ctime = FileTimeToUnixTime(&ftCreate, &rem);
|
||||||
|
|
Loading…
Reference in a new issue