summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdrian Szyndela <adrian.s@samsung.com>2016-08-10 14:38:09 +0200
committerAdrian Szyndela <adrian.s@samsung.com>2016-08-10 14:40:41 +0200
commit52f6de04b3388c4a67e3e9289bfc5dc7d65c80aa (patch)
tree53473dd3efd6d0f54662081b2321c45de4793b9f
parent5f04cd07457352655e91d874558faba70e566979 (diff)
downloaddbus-52f6de04b3388c4a67e3e9289bfc5dc7d65c80aa.tar.gz
dbus-52f6de04b3388c4a67e3e9289bfc5dc7d65c80aa.tar.bz2
dbus-52f6de04b3388c4a67e3e9289bfc5dc7d65c80aa.zip
Change-Id: Ib10e3eb7c102f63a5d63c550858ad4a5edee8c2b
-rw-r--r--dbus/dbus-transport-kdbus.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/dbus/dbus-transport-kdbus.c b/dbus/dbus-transport-kdbus.c
index 759c3d7e..72e3a181 100644
--- a/dbus/dbus-transport-kdbus.c
+++ b/dbus/dbus-transport-kdbus.c
@@ -2481,6 +2481,7 @@ kdbus_message_size (const struct kdbus_msg *msg,
const struct kdbus_item *item;
int ret_size = 0;
+ *n_fds = 0;
KDBUS_ITEM_FOREACH (item, msg, items)
{
if (item->size < KDBUS_ITEM_HEADER_SIZE)