[dovecot-cvs] dovecot/src/imap cmd-append.c,1.30,1.31
cras at procontrol.fi
cras at procontrol.fi
Thu Oct 16 19:50:22 EEST 2003
Update of /home/cvs/dovecot/src/imap
In directory danu:/tmp/cvs-serv19216
Modified Files:
cmd-append.c
Log Message:
cleanup
Index: cmd-append.c
===================================================================
RCS file: /home/cvs/dovecot/src/imap/cmd-append.c,v
retrieving revision 1.30
retrieving revision 1.31
diff -u -d -r1.30 -r1.31
--- cmd-append.c 21 Sep 2003 16:21:36 -0000 1.30
+++ cmd-append.c 16 Oct 2003 15:50:20 -0000 1.31
@@ -55,10 +55,10 @@
struct mailbox_custom_flags old_flags;
struct mail_full_flags flags;
time_t internal_date;
- const char *mailbox, *internal_date_str, *error;
+ const char *mailbox, *internal_date_str;
uoff_t msg_size;
unsigned int count;
- int ret, failed, timezone_offset, nonsync, fatal_error;
+ int ret, failed, timezone_offset, nonsync;
/* <mailbox> */
if (!client_read_string_args(client, 1, &mailbox))
@@ -112,15 +112,7 @@
if (ret >= 0)
break;
if (ret == -1) {
- error = imap_parser_get_error(save_parser,
- &fatal_error);
- if (fatal_error) {
- client_disconnect_with_error(client,
- error);
- } else {
- client_send_command_error(client,
- error);
- }
+ client_send_command_error(client, NULL);
break;
}
More information about the dovecot-cvs
mailing list