From d6d10a411a2ba4720ef15365a5c7faffe29d8534 Mon Sep 17 00:00:00 2001 From: Mike Gorse Date: Thu, 26 Feb 2009 16:17:27 -0500 Subject: [PATCH] 2009-02-26 Mike Gorse * dbind_method_call_reentrant_body: Initialize iter with dbus_message_iter_init_append before appending. --- dbind/dbind.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dbind/dbind.c b/dbind/dbind.c index 0b5224f..512133d 100644 --- a/dbind/dbind.c +++ b/dbind/dbind.c @@ -68,7 +68,7 @@ dbind_method_call_reentrant_va (DBusConnection *cnx, goto out; p = arg_types; - dbus_message_iter_init (msg, &iter); + dbus_message_iter_init_append (msg, &iter); dbind_any_marshal_va (&iter, &p, args); reply = send_and_allow_reentry (cnx, msg, err); -- 2.7.4