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.
* 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()
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;