[dovecot-cvs] dovecot/src/imap client.c,1.9,1.10
cras at procontrol.fi
cras at procontrol.fi
Mon Oct 28 06:18:28 EET 2002
Update of /home/cvs/dovecot/src/imap
In directory danu:/tmp/cvs-serv7362/imap
Modified Files:
client.c
Log Message:
I/O buffers now use real blocking instead of setting up a sub-ioloop to
poll(). alarm() is called every 30 secs to send SIGHUP and break out of the
read/write calls, so the given timeout values aren't exact.
Also some other cleanups, like not including ioloop.h in [io]buffer.h which
broke several other files which hadn't included it itself..
Index: client.c
===================================================================
RCS file: /home/cvs/dovecot/src/imap/client.c,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -d -r1.9 -r1.10
--- client.c 13 Oct 2002 23:49:11 -0000 1.9
+++ client.c 28 Oct 2002 04:18:26 -0000 1.10
@@ -1,6 +1,7 @@
/* Copyright (C) 2002 Timo Sirainen */
#include "common.h"
+#include "ioloop.h"
#include "network.h"
#include "ibuffer.h"
#include "obuffer.h"
@@ -29,8 +30,7 @@
static void client_input(Client *client);
-static void client_output_timeout(void *context,
- Timeout timeout __attr_unused__)
+static void client_output_timeout(void *context)
{
Client *client = context;
@@ -38,8 +38,7 @@
o_buffer_close(client->outbuf);
}
-static void client_input_timeout(void *context,
- Timeout timeout __attr_unused__)
+static void client_input_timeout(void *context)
{
Client *client = context;
More information about the dovecot-cvs
mailing list