2003-06-29 Miloslav Trmac <mitr@volny.cz>
authorMiloslav Trmac <mitr@volny.cz>
Sat, 28 Jun 2003 23:08:14 +0000 (23:08 +0000)
committerMiloslav Trmac <mitr@volny.cz>
Sat, 28 Jun 2003 23:08:14 +0000 (23:08 +0000)
* dbus/dbus-message.c (decode_header_data): Use %.4s instead
of %c%c%c%c.
(dbus_message_new): Remove obsolete @todo.

ChangeLog
dbus/dbus-message.c

index dc18ab6..68c5dfb 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,9 @@
 2003-06-29  Miloslav Trmac  <mitr@volny.cz>
 
+       * dbus/dbus-message.c (decode_header_data): Use %.4s instead
+       of %c%c%c%c.
+       (dbus_message_new): Remove obsolete @todo.
+
        * dbus/dbus-marshal.c (_dbus_marshal_set_int64) 
        (_dbus_marshal_set_uint64): Fix comment.
 
index 68e2499..fab3772 100644 (file)
@@ -949,9 +949,6 @@ dbus_message_new_empty_header (void)
  * no service is set; this is appropriate when using D-BUS in a
  * peer-to-peer context (no message bus).
  *
- * @todo reverse the arguments, first 'name' then 'service'
- * as 'name' is more fundamental
- *
  * @param name name of the message
  * @param destination_service service that the message should be sent to or #NULL
  * @returns a new DBusMessage, free with dbus_message_unref()
@@ -4243,8 +4240,8 @@ decode_header_data (const DBusString   *data,
          break;
 
         default:
-         _dbus_verbose ("Ignoring an unknown header field: %c%c%c%c at offset %d\n",
-                        field[0], field[1], field[2], field[3], pos);
+         _dbus_verbose ("Ignoring an unknown header field: %.4s at offset %d\n",
+                        field, pos);
        }
       
       pos = new_pos;