From f1ca9b89e92de4d876dc5e7e85710c4d2dc87638 Mon Sep 17 00:00:00 2001 From: Havoc Pennington Date: Tue, 17 Oct 2006 20:52:13 +0000 Subject: 2006-10-17 Havoc Pennington * dbus/dbus-internals.c (_dbus_warn_check_failed): new function to be used for return_if_fail type warnings; prefixes the pid, and fatal by default. --- dbus/dbus-marshal-basic.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'dbus/dbus-marshal-basic.c') diff --git a/dbus/dbus-marshal-basic.c b/dbus/dbus-marshal-basic.c index 56f4b83d..944e2c78 100644 --- a/dbus/dbus-marshal-basic.c +++ b/dbus/dbus-marshal-basic.c @@ -578,8 +578,8 @@ _dbus_marshal_read_basic (const DBusString *str, } break; default: - _dbus_warn ("type %s %d not a basic type\n", - _dbus_type_to_string (type), type); + _dbus_warn_check_failed ("type %s %d not a basic type\n", + _dbus_type_to_string (type), type); _dbus_assert_not_reached ("not a basic type"); break; } -- cgit