diff -r 1a7853a4257e -r 5dee29c7c530 src/server/util/io.c --- a/src/server/util/io.c Thu Feb 23 13:10:04 2012 +0100 +++ b/src/server/util/io.c Sat Feb 25 12:43:26 2012 +0100 @@ -66,6 +66,7 @@ st->fd = fd; st->max_read = 0; st->rd = 0; + return (IOStream*)st; } ssize_t net_stream_write(IOStream *st, void *buf, size_t nbytes) {