From 2ad44a4cd4f811d6c7da5c8e9e31acf6e0152c79 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Wed, 16 Jan 2019 21:13:32 +0300 Subject: fixes #1767 (Update toxcore to 0.2.9) --- protocols/Tox/libtox/src/toxcore/logger.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'protocols/Tox/libtox/src/toxcore/logger.c') diff --git a/protocols/Tox/libtox/src/toxcore/logger.c b/protocols/Tox/libtox/src/toxcore/logger.c index 51c30edec4..808332198c 100644 --- a/protocols/Tox/libtox/src/toxcore/logger.c +++ b/protocols/Tox/libtox/src/toxcore/logger.c @@ -104,7 +104,8 @@ void logger_write(const Logger *log, Logger_Level level, const char *file, int l #ifdef USE_STDERR_LOGGER log = &logger_stderr; #else - assert(!"NULL logger not permitted"); + fprintf(stderr, "NULL logger not permitted.\n"); + abort(); #endif } -- cgit v1.2.3