Mercurial > dovecot > original-hg > dovecot-1.2
annotate src/imap/cmd-capability.c @ 1552:bc3307f2f35d HEAD
Only NOOP and CHECK will now always do a real mailbox sync. Other commands
will also do it but no often than once in 5 seconds. Also with maildir we
don't anymore try to sync it before running commands since syncing is now
done automatically whenever we try to access a file that doesn't exist.
author | Timo Sirainen <tss@iki.fi> |
---|---|
date | Sun, 15 Jun 2003 06:42:28 +0300 |
parents | fd8888f6f037 |
children | 898a95426118 |
rev | line source |
---|---|
0 | 1 /* Copyright (C) 2002 Timo Sirainen */ |
2 | |
3 #include "common.h" | |
4 #include "commands.h" | |
5 | |
903
fd8888f6f037
Naming style changes, finally got tired of most of the typedefs. Also the
Timo Sirainen <tss@iki.fi>
parents:
450
diff
changeset
|
6 int cmd_capability(struct client *client) |
0 | 7 { |
8 client_send_line(client, "* CAPABILITY " CAPABILITY_STRING); | |
9 | |
1552
bc3307f2f35d
Only NOOP and CHECK will now always do a real mailbox sync. Other commands
Timo Sirainen <tss@iki.fi>
parents:
903
diff
changeset
|
10 client_sync_full_fast(client); |
0 | 11 client_send_tagline(client, "OK Capability completed."); |
12 return TRUE; | |
13 } |