diff options
Diffstat (limited to 'dbus_bindings/dbus_bindings-internal.h')
-rw-r--r-- | dbus_bindings/dbus_bindings-internal.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/dbus_bindings/dbus_bindings-internal.h b/dbus_bindings/dbus_bindings-internal.h index b3006b5..7b1ca1e 100644 --- a/dbus_bindings/dbus_bindings-internal.h +++ b/dbus_bindings/dbus_bindings-internal.h @@ -2,6 +2,8 @@ * * Copyright (C) 2006 Collabora Ltd. <http://www.collabora.co.uk/> * + * SPDX-License-Identifier: MIT + * * Permission is hereby granted, free of charge, to any person * obtaining a copy of this software and associated documentation * files (the "Software"), to deal in the Software without @@ -268,7 +270,7 @@ void _dbus_py_dbg_dump_message(DBusMessage *); # define TRACE(self) do { \ fprintf(stderr, "TRACE: <%s at %p> in %s, " \ "%d refs\n", \ - self ? Py_TYPE(self)->tp_name : NULL, \ + self ? Py_TYPE(self)->tp_name : "(null)", \ self, __func__, \ self ? (int)Py_REFCNT(self) : 0); \ } while (0) |