remove debugging abort that makes tests fail.

This commit is contained in:
christos 2017-03-02 15:43:14 +00:00
parent e663963d4a
commit a262455532

View File

@ -1,4 +1,4 @@
/* $NetBSD: evthread.c,v 1.1.1.2 2017/01/31 21:14:52 christos Exp $ */
/* $NetBSD: evthread.c,v 1.2 2017/03/02 15:43:14 christos Exp $ */
/*
* Copyright (c) 2008-2012 Niels Provos, Nick Mathewson
*
@ -27,7 +27,7 @@
#include "event2/event-config.h"
#include <sys/cdefs.h>
__RCSID("$NetBSD: evthread.c,v 1.1.1.2 2017/01/31 21:14:52 christos Exp $");
__RCSID("$NetBSD: evthread.c,v 1.2 2017/03/02 15:43:14 christos Exp $");
#include "evconfig-private.h"
#ifndef EVENT__DISABLE_THREAD_SUPPORT
@ -108,7 +108,7 @@ evthread_set_lock_callbacks(const struct evthread_lock_callbacks *cbs)
if (!cbs) {
if (target->alloc)
event_warnx("Trying to disable lock functions after "
"they have been set up will probaby not work.");
"they have been set up will probably not work.");
memset(target, 0, sizeof(evthread_lock_fns_));
return 0;
}
@ -151,7 +151,7 @@ evthread_set_condition_callbacks(const struct evthread_condition_callbacks *cbs)
if (!cbs) {
if (target->alloc_condition)
event_warnx("Trying to disable condition functions "
"after they have been set up will probaby not "
"after they have been set up will probably not "
"work.");
memset(target, 0, sizeof(evthread_cond_fns_));
return 0;