All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/5] ignore the NULL dict entry
@ 2009-11-17 15:49 Martin Xu
  2009-11-17 15:49 ` [PATCH 2/5] emit PropertyChanged Settings signal after active/deactive primary context Martin Xu
  0 siblings, 1 reply; 6+ messages in thread
From: Martin Xu @ 2009-11-17 15:49 UTC (permalink / raw)
  To: ofono

[-- Attachment #1: Type: text/plain, Size: 514 bytes --]

---
 src/dbus.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/src/dbus.c b/src/dbus.c
index b74481f..942294e 100644
--- a/src/dbus.c
+++ b/src/dbus.c
@@ -134,6 +134,9 @@ static void append_dict_variant(DBusMessageIter *iter, int type, void *val)
 						typesig, &array);
 
 	for (i = 0; val_array[i]; i += 2) {
+		if (val_array[i + 1] == NULL)
+			continue;
+
 		dbus_message_iter_open_container(&array, DBUS_TYPE_DICT_ENTRY,
 							NULL, &entry);
 
-- 
1.6.1.3


^ permalink raw reply related	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2009-11-18  0:57 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-11-17 15:49 [PATCH 1/5] ignore the NULL dict entry Martin Xu
2009-11-17 15:49 ` [PATCH 2/5] emit PropertyChanged Settings signal after active/deactive primary context Martin Xu
2009-11-17 15:49   ` [PATCH 3/5] ofono_gprs_context_update_settings Martin Xu
2009-11-17 15:49     ` [PATCH 4/5] add function ofono_gprs_context_get_modem Martin Xu
2009-11-17 15:49       ` [PATCH 5/5] update gprs context settings when activating primary conext Martin Xu
2009-11-18  0:57   ` [PATCH 2/5] emit PropertyChanged Settings signal after active/deactive primary context Denis Kenzior

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.