summaryrefslogtreecommitdiffstats
path: root/dbus/dbus-message.c
diff options
context:
space:
mode:
authorMikael Hallendal <micke@imendio.com>2003-12-17 12:24:33 +0000
committerMikael Hallendal <micke@imendio.com>2003-12-17 12:24:33 +0000
commita9a28b7a6a42f837900ac8d6db0312a6da259ef0 (patch)
tree2d7c25e211ca5747258854f137374b32a7b78d39 /dbus/dbus-message.c
parentdb400fed4708216510888441e846a345a04c2dce (diff)
2003-12-17 Mikael Hallendal <micke@imendio.com>
* dbus/dbus-message.c: (dbus_message_append_args_valist): - Added case for DBUS_TYPE_BYTE, patch from Johan Hedberg.
Diffstat (limited to 'dbus/dbus-message.c')
-rw-r--r--dbus/dbus-message.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/dbus/dbus-message.c b/dbus/dbus-message.c
index 9b49ddba..7c1ad1f3 100644
--- a/dbus/dbus-message.c
+++ b/dbus/dbus-message.c
@@ -1881,6 +1881,10 @@ dbus_message_append_args_valist (DBusMessage *message,
if (!dbus_message_iter_append_nil (&iter))
goto errorout;
break;
+ case DBUS_TYPE_BYTE:
+ if (!dbus_message_iter_append_byte (&iter, va_arg (var_args, unsigned char)))
+ goto errorout;
+ break;
case DBUS_TYPE_BOOLEAN:
if (!dbus_message_iter_append_boolean (&iter, va_arg (var_args, dbus_bool_t)))
goto errorout;