We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3b660bb commit 2b7f4d2Copy full SHA for 2b7f4d2
pbusinessaccount.c
@@ -685,7 +685,7 @@ static int check_write_permissions (psync_folderid_t folderid) {
685
row=psync_sql_fetch_rowint(res);
686
if (unlikely(!row))
687
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)))
+ else if (((row[1])&3)!=P_O_RDONLY && !((row[0])&(PSYNC_PERM_MODIFY|PSYNC_PERM_CREATE)))
689
ret = 1;
690
691
psync_sql_free_result(res);
0 commit comments