Re: Debug a call to method ssa(sv)a(sa(sv)) from libdbus

Thiago Macieira <[email protected]>
Newsgroups gmane.comp.freedesktop.dbus
Message-ID <2280327.UBx5iNWvfT@tjmaciei-mobl5>
On Thursday, 10 March 2022 10:50:10 PST Felip Moll wrote:
> dbus_message_iter_init_append(msg, &args_itr);
> dbus_message_iter_append_basic(&args_itr, DBUS_TYPE_STRING, &name);
> dbus_message_iter_append_basic(&args_itr, DBUS_TYPE_STRING, &mode);
> _dbus_asv_add_fixed_array(&args_itr, pid_str, DBUS_TYPE_UINT32,  &pids,
> npids);
> dbus_message_iter_open_container(&args_itr, DBUS_TYPE_ARRAY,
> DBUS_TYPE_UINT32_AS_STRING, &cont_itr);
> dbus_message_iter_append_basic(&cont_itr, DBUS_TYPE_UINT32, &zero);
> dbus_message_iter_close_container(&args_itr, &cont_itr);
> dbus_connection_send_with_reply(conn, msg, &pending, -1);
> dbus_connection_flush(conn);

This section of code does not seem to match signature 'ssa(sv)a(sa(sv))'

I'm seeing 'ssauas' and in the array of strings at the end you added an 
uint32_t instead of a string.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.