summaryrefslogtreecommitdiffstats
path: root/dbus/dbus-marshal-basic.c
diff options
context:
space:
mode:
authorHavoc Pennington <hp@redhat.com>2006-10-17 20:52:13 +0000
committerHavoc Pennington <hp@redhat.com>2006-10-17 20:52:13 +0000
commitf1ca9b89e92de4d876dc5e7e85710c4d2dc87638 (patch)
tree4f52c7303bd028114da11e6a8d212d4059ad2570 /dbus/dbus-marshal-basic.c
parentc4b5ea1b95f5c14fb9f51e51367d7bc9201e8b71 (diff)
2006-10-17 Havoc Pennington <hp@redhat.com>
* 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.
Diffstat (limited to 'dbus/dbus-marshal-basic.c')
-rw-r--r--dbus/dbus-marshal-basic.c4
1 files changed, 2 insertions, 2 deletions
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;
}