diff options
author | Vsevolod Stakhov <vsevolod@rambler-co.ru> | 2012-03-01 21:57:09 +0400 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@rambler-co.ru> | 2012-03-01 21:57:09 +0400 |
commit | 4f28edb3f55048024301068417be00106ebdd09a (patch) | |
tree | 7622d57398f3132b0f3552bb17c58b2a11daa66d /src/aio_event.h | |
parent | 9d703560099beea2b2b53c533e7f71dc926293b2 (diff) | |
download | rspamd-4f28edb3f55048024301068417be00106ebdd09a.tar.gz rspamd-4f28edb3f55048024301068417be00106ebdd09a.zip |
Fix asynchronous IO API.
Write test case for aio.
Diffstat (limited to 'src/aio_event.h')
-rw-r--r-- | src/aio_event.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/aio_event.h b/src/aio_event.h index 3149174b9..7350d102e 100644 --- a/src/aio_event.h +++ b/src/aio_event.h @@ -35,7 +35,7 @@ struct aio_context; /** * Callback for notifying */ -typedef void (*rspamd_aio_cb) (gint res, gsize len, gpointer data, gpointer ud); +typedef void (*rspamd_aio_cb) (gint fd, gint res, gsize len, gpointer data, gpointer ud); /** * Initialize aio with specified event base |