diff options
author | Havoc Pennington <hp@redhat.com> | 2006-10-17 20:52:13 +0000 |
---|---|---|
committer | Havoc Pennington <hp@redhat.com> | 2006-10-17 20:52:13 +0000 |
commit | f1ca9b89e92de4d876dc5e7e85710c4d2dc87638 (patch) | |
tree | 4f52c7303bd028114da11e6a8d212d4059ad2570 /dbus/dbus-transport.c | |
parent | c4b5ea1b95f5c14fb9f51e51367d7bc9201e8b71 (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-transport.c')
-rw-r--r-- | dbus/dbus-transport.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dbus/dbus-transport.c b/dbus/dbus-transport.c index f43dd3d2..d8d3bb29 100644 --- a/dbus/dbus-transport.c +++ b/dbus/dbus-transport.c @@ -676,7 +676,7 @@ _dbus_transport_handle_watch (DBusTransport *transport, if (dbus_watch_get_fd (watch) < 0) { - _dbus_warn ("Tried to handle an invalidated watch; this watch should have been removed\n"); + _dbus_warn_check_failed ("Tried to handle an invalidated watch; this watch should have been removed\n"); return TRUE; } |