Skip to content

Commit 2b7f4d2

Browse files
win fix
1 parent 3b660bb commit 2b7f4d2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pbusinessaccount.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -685,7 +685,7 @@ static int check_write_permissions (psync_folderid_t folderid) {
685685
row=psync_sql_fetch_rowint(res);
686686
if (unlikely(!row))
687687
debug(D_ERROR, "could not find folder of folderid %lu", (unsigned long)folderid);
688-
else if (((row[1])&3)!=O_RDONLY && !((row[0])&(PSYNC_PERM_MODIFY|PSYNC_PERM_CREATE)))
688+
else if (((row[1])&3)!=P_O_RDONLY && !((row[0])&(PSYNC_PERM_MODIFY|PSYNC_PERM_CREATE)))
689689
ret = 1;
690690

691691
psync_sql_free_result(res);

0 commit comments

Comments
 (0)