From 501dd04e8b3d25c638e86ac9ba40395deee86d99 Mon Sep 17 00:00:00 2001 From: root Date: Sun, 11 May 2008 20:08:37 +0000 Subject: *** empty log message *** --- eio.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/eio.c b/eio.c index b718297..d1679cd 100644 --- a/eio.c +++ b/eio.c @@ -10,7 +10,7 @@ #include #include #include -#include +#include #ifndef EIO_FINISH # define EIO_FINISH(req) ((req)->finish) && !EIO_CANCELLED (req) ? (req)->finish (req) : 0 @@ -327,8 +327,8 @@ static void start_thread (void) { worker *wrk = calloc (1, sizeof (worker)); - if (!wrk) - croak ("unable to allocate worker thread data"); + /*TODO*/ + assert (("unable to allocate worker thread data", !wrk)); X_LOCK (wrklock); -- cgit v1.2.3