[dovecot-cvs]
dovecot/src/imap cmd-close.c,1.9,1.10 cmd-select.c,1.20,1.21
commands-util.c,1.26,1.27 imap-fetch.c,1.8,1.9
cras at procontrol.fi
cras at procontrol.fi
Sat Jul 26 20:55:13 EEST 2003
- Previous message: [dovecot-cvs] dovecot/src/imap main.c,1.38,1.39 common.h,1.9,1.10
client.c,1.31,1.32
- Next message: [dovecot-cvs] dovecot/src/lib-storage mail-storage.c,1.15,1.16
mail-storage.h,1.51,1.52
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /home/cvs/dovecot/src/imap
In directory danu:/tmp/cvs-serv13066/imap
Modified Files:
cmd-close.c cmd-select.c commands-util.c imap-fetch.c
Log Message:
API changes: Don't keep variables in mailbox class.
Index: cmd-close.c
===================================================================
RCS file: /home/cvs/dovecot/src/imap/cmd-close.c,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -d -r1.9 -r1.10
--- cmd-close.c 26 Jul 2003 16:33:22 -0000 1.9
+++ cmd-close.c 26 Jul 2003 16:55:11 -0000 1.10
@@ -13,7 +13,7 @@
client->mailbox = NULL;
- if (!mailbox->readonly) {
+ if (!mailbox->is_readonly(mailbox)) {
if (!imap_expunge(mailbox, FALSE))
client_send_untagged_storage_error(client);
}
Index: cmd-select.c
===================================================================
RCS file: /home/cvs/dovecot/src/imap/cmd-select.c,v
retrieving revision 1.20
retrieving revision 1.21
diff -u -d -r1.20 -r1.21
--- cmd-select.c 15 Jul 2003 18:26:42 -0000 1.20
+++ cmd-select.c 26 Jul 2003 16:55:11 -0000 1.21
@@ -73,7 +73,7 @@
"Disk space is full, delete some messages.");
}
- client_send_tagline(client, box->readonly ?
+ client_send_tagline(client, box->is_readonly(box) ?
"OK [READ-ONLY] Select completed." :
"OK [READ-WRITE] Select completed.");
Index: commands-util.c
===================================================================
RCS file: /home/cvs/dovecot/src/imap/commands-util.c,v
retrieving revision 1.26
retrieving revision 1.27
diff -u -d -r1.26 -r1.27
--- commands-util.c 15 Jun 2003 03:42:28 -0000 1.26
+++ commands-util.c 26 Jul 2003 16:55:11 -0000 1.27
@@ -288,14 +288,14 @@
client_send_line(client,
t_strconcat("* FLAGS ("SYSTEM_FLAGS, str, ")", NULL));
- if (box->readonly) {
+ if (box->is_readonly(box)) {
client_send_line(client, "* OK [PERMANENTFLAGS ()] "
"Read-only mailbox.");
} else {
client_send_line(client,
t_strconcat("* OK [PERMANENTFLAGS ("SYSTEM_FLAGS, str,
- box->allow_custom_flags ? " \\*" : "",
- ")] Flags permitted.", NULL));
+ box->allow_new_custom_flags(box) ?
+ " \\*" : "", ")] Flags permitted.", NULL));
}
}
Index: imap-fetch.c
===================================================================
RCS file: /home/cvs/dovecot/src/imap/imap-fetch.c,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -d -r1.8 -r1.9
--- imap-fetch.c 23 Jul 2003 02:55:12 -0000 1.8
+++ imap-fetch.c 26 Jul 2003 16:55:11 -0000 1.9
@@ -275,7 +275,7 @@
ctx.select_counter = client->select_counter;
ctx.seen_flag.flags = MAIL_SEEN;
- if (!box->readonly) {
+ if (!box->is_readonly(box)) {
/* If we have any BODY[..] sections, \Seen flag is added for
all messages */
struct imap_fetch_body_data *body;
- Previous message: [dovecot-cvs] dovecot/src/imap main.c,1.38,1.39 common.h,1.9,1.10
client.c,1.31,1.32
- Next message: [dovecot-cvs] dovecot/src/lib-storage mail-storage.c,1.15,1.16
mail-storage.h,1.51,1.52
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the dovecot-cvs
mailing list