[dovecot-cvs] dovecot/src/pop3 client.c,1.69,1.70
tss at dovecot.org
tss at dovecot.org
Fri Dec 15 18:38:30 UTC 2006
- Previous message: [dovecot-cvs] dovecot/src/master auth-process.c, 1.97, 1.98 auth-process.h, 1.9, 1.10 dict-process.c, 1.8, 1.9 log.c, 1.11, 1.12 login-process.c, 1.88, 1.89 master-settings.c, 1.145, 1.146
- Next message: [dovecot-cvs] dovecot/src/util rawlog.c,1.8,1.9
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /var/lib/cvs/dovecot/src/pop3
In directory talvi:/tmp/cvs-serv3614/pop3
Modified Files:
client.c
Log Message:
Replaced void *context from a lot of callbacks with the actual context
type. Also added/fixed some context type checks.
Index: client.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/pop3/client.c,v
retrieving revision 1.69
retrieving revision 1.70
diff -u -d -r1.69 -r1.70
--- client.c 25 Nov 2006 22:18:36 -0000 1.69
+++ client.c 15 Dec 2006 18:38:27 -0000 1.70
@@ -36,8 +36,8 @@
static struct client *my_client; /* we don't need more than one currently */
static struct timeout *to_idle;
-static void client_input(void *context);
-static int client_output(void *context);
+static void client_input(struct client *client);
+static int client_output(struct client *client);
static int sync_mailbox(struct mailbox *box, struct mailbox_status *status)
{
@@ -329,9 +329,8 @@
"BUG: Unknown error");
}
-static void client_input(void *context)
+static void client_input(struct client *client)
{
- struct client *client = context;
char *line, *args;
int ret;
@@ -388,9 +387,8 @@
client_destroy(client, NULL);
}
-static int client_output(void *context)
+static int client_output(struct client *client)
{
- struct client *client = context;
int ret;
if ((ret = o_stream_flush(client->output)) < 0) {
- Previous message: [dovecot-cvs] dovecot/src/master auth-process.c, 1.97, 1.98 auth-process.h, 1.9, 1.10 dict-process.c, 1.8, 1.9 log.c, 1.11, 1.12 login-process.c, 1.88, 1.89 master-settings.c, 1.145, 1.146
- Next message: [dovecot-cvs] dovecot/src/util rawlog.c,1.8,1.9
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the dovecot-cvs
mailing list