diff options
| author | Miloslav Trmac <mitr@volny.cz> | 2003-06-28 23:08:14 +0000 | 
|---|---|---|
| committer | Miloslav Trmac <mitr@volny.cz> | 2003-06-28 23:08:14 +0000 | 
| commit | 00da8e46fde4dde3bb4b83181b303edd27e8ad69 (patch) | |
| tree | 2681da72907d688f0cc28f7934e95b8e817877f1 | |
| parent | a513066ba9c050bec915e0b950ae25babc458998 (diff) | |
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.
| -rw-r--r-- | ChangeLog | 4 | ||||
| -rw-r--r-- | dbus/dbus-message.c | 7 | 
2 files changed, 6 insertions, 5 deletions
| @@ -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. diff --git a/dbus/dbus-message.c b/dbus/dbus-message.c index 68e24996..fab37720 100644 --- a/dbus/dbus-message.c +++ b/dbus/dbus-message.c @@ -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; | 
