server: Add support for restarting an async I/O when the client side couldn't finish it right away.
diff --git a/server/protocol.def b/server/protocol.def
index 48d1096..e1e504f 100644
--- a/server/protocol.def
+++ b/server/protocol.def
@@ -279,7 +279,7 @@
struct
{
enum apc_type type; /* APC_ASYNC_IO */
- void (__stdcall *func)(void*, void*, unsigned int);
+ unsigned int (*func)(void*, void*, unsigned int);
void *user; /* user pointer */
void *sb; /* status block */
unsigned int status; /* I/O status */