test: fix undefined macro error

This commit is contained in:
Ben Noordhuis 2012-01-21 04:19:53 +01:00
parent 2ce0058251
commit d1a0e8e7e2

View File

@ -57,7 +57,7 @@ static void close_cb(uv_handle_t* handle) {
static void on_connection(uv_stream_t* server, int status) { static void on_connection(uv_stream_t* server, int status) {
int r; int r;
worker_t* worker = CONTAINING_RECORD(server, worker_t, server); worker_t* worker = container_of(server, worker_t, server);
if (!worker->connection_accepted) { if (!worker->connection_accepted) {
/* /*