summaryrefslogtreecommitdiff
path: root/src/system/dlt-system-filetransfer.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/system/dlt-system-filetransfer.c')
-rw-r--r--src/system/dlt-system-filetransfer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/system/dlt-system-filetransfer.c b/src/system/dlt-system-filetransfer.c
index d0ff7c7..64ac487 100644
--- a/src/system/dlt-system-filetransfer.c
+++ b/src/system/dlt-system-filetransfer.c
@@ -659,7 +659,7 @@ int wait_for_files(FiletransferOptions const *opts)
struct inotify_event *ie = (struct inotify_event *)&buf[i];
if(ie->len > 0)
{
- if(ie->mask & IN_CLOSE_WRITE || ie->mask & IN_MOVED_TO)
+ if((ie->mask & IN_CLOSE_WRITE) || (ie->mask & IN_MOVED_TO))
{
int j;
for(j = 0;j < opts->Count;j++)