[dovecot-cvs] dovecot/src/pop3 client.c,1.54,1.55
cras at dovecot.org
cras at dovecot.org
Sat May 28 14:20:52 EEST 2005
Update of /var/lib/cvs/dovecot/src/pop3
In directory talvi:/tmp/cvs-serv5059
Modified Files:
client.c
Log Message:
Small optimization
Index: client.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/pop3/client.c,v
retrieving revision 1.54
retrieving revision 1.55
diff -u -d -r1.54 -r1.55
--- client.c 23 May 2005 22:40:39 -0000 1.54
+++ client.c 28 May 2005 11:20:49 -0000 1.55
@@ -382,10 +382,11 @@
client->last_output = ioloop_time;
- o_stream_cork(client->output);
- if (client->cmd != NULL)
+ if (client->cmd != NULL) {
+ o_stream_cork(client->output);
client->cmd(client);
- o_stream_uncork(client->output);
+ o_stream_uncork(client->output);
+ }
if (client->cmd == NULL) {
if (o_stream_get_buffer_used_size(client->output) <
More information about the dovecot-cvs
mailing list