diff options
author | John Dennis <jdennis@redhat.com> | 2013-04-11 11:34:08 -0400 |
---|---|---|
committer | John Dennis <jdennis@redhat.com> | 2013-04-11 11:34:08 -0400 |
commit | bc583bb61a5a41ba578334bdb98ed602f167aee9 (patch) | |
tree | f9cc24bc1febd59d806427d2cc111016072b4cd2 | |
parent | fdf3440941bb8e2d13165f11513790bf846129ee (diff) | |
download | realmd-cim-bc583bb61a5a41ba578334bdb98ed602f167aee9.tar.gz realmd-cim-bc583bb61a5a41ba578334bdb98ed602f167aee9.tar.xz realmd-cim-bc583bb61a5a41ba578334bdb98ed602f167aee9.zip |
Clean up attribution of dbug message printing code
-rw-r--r-- | rdcp_dbus.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/rdcp_dbus.c b/rdcp_dbus.c index 0e213aa..b05e5c9 100644 --- a/rdcp_dbus.c +++ b/rdcp_dbus.c @@ -109,7 +109,10 @@ dbus_error_to_gerror(DBusError *dbus_error) /*----------------------------------------------------------------------------*/ -/* taken from dbus/tools/dbus-print-message.c */ +/* + * The code to print a DBus message is based upon DBUS code in + * dbus/tools/dbus-print-message.c which is GPL. + */ static const char* dbus_msg_type_to_string (int message_type) @@ -181,9 +184,6 @@ dbus_message_print_hex(GString *string, unsigned char *bytes, unsigned int len, static void dbus_message_print_byte_array(GString *string, DBusMessageIter *iter, int depth) { - /* Not using DBusString because it's not public API. It's 2009, and I'm - * manually growing a string chunk by chunk. - */ unsigned char *bytes = malloc (DEFAULT_SIZE + 1); unsigned int len = 0; unsigned int max = DEFAULT_SIZE; |