Commit 5e5970b
committed
net_imap: Fix flag and quota issues with APPEND.
* Explicitly pass in the appenddir to parse_flags_string, rather
than using the default imap->dir, which is not correct, and could
result in soft assertions in parse_keyword() if the APPEND command
was used without a mailbox selected. Worse, if a mailbox was selected,
then we would append keywords to the wrong mailbox.
* Add the message size to quota usage, rather than subtracting it!
LBBS-148 #close1 parent d75a023 commit 5e5970b
1 file changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2384 | 2384 | | |
2385 | 2385 | | |
2386 | 2386 | | |
2387 | | - | |
| 2387 | + | |
2388 | 2388 | | |
2389 | 2389 | | |
2390 | 2390 | | |
| |||
2531 | 2531 | | |
2532 | 2532 | | |
2533 | 2533 | | |
2534 | | - | |
| 2534 | + | |
2535 | 2535 | | |
2536 | 2536 | | |
2537 | 2537 | | |
| |||
0 commit comments