projects
/
nextcloud-desktop.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
28907ec
)
csync_update: Remove unneeded checks of previous commit.
author
Klaas Freitag
<freitag@owncloud.com>
Fri, 29 Jan 2016 09:43:31 +0000
(10:43 +0100)
committer
Klaas Freitag
<freitag@owncloud.com>
Fri, 29 Jan 2016 09:43:31 +0000
(10:43 +0100)
csync/src/csync_update.c
patch
|
blob
|
history
diff --git
a/csync/src/csync_update.c
b/csync/src/csync_update.c
index 3274b9cc4f029765c3c188b530115c8bf8345bf8..90208d92a2ed5be762b7ae2a4d320083f7859c49 100644
(file)
--- a/
csync/src/csync_update.c
+++ b/
csync/src/csync_update.c
@@
-140,13
+140,6
@@
static bool _csync_filetype_different( const csync_file_stat_t *tmp, const csync
if( tmp->type == CSYNC_FTW_TYPE_SLINK && fs->type != CSYNC_VIO_FILE_TYPE_SYMBOLIC_LINK )
return true;
- if( fs->type == CSYNC_VIO_FILE_TYPE_DIRECTORY && tmp->type != CSYNC_FTW_TYPE_DIR )
- return true;
- if( fs->type == CSYNC_VIO_FILE_TYPE_REGULAR && tmp->type != CSYNC_FTW_TYPE_FILE )
- return true;
- if( fs->type == CSYNC_VIO_FILE_TYPE_SYMBOLIC_LINK && tmp->type != CSYNC_FTW_TYPE_SLINK )
- return true;
-
return false; // both are NOT different.
}