Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(826)

Unified Diff: src/message.cpp

Issue 6820045: dbus-c++: MessageIter: handle nested dicts in copy_data (Closed) Base URL: ssh://git@gitrw.chromium.org:9222/dbus-cplusplus.git@master
Patch Set: Created 9 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/message.cpp
diff --git a/src/message.cpp b/src/message.cpp
index aa920b37678aa60121f8fc3b627ac6372d0a097a..e0a2a936b9bba64b200ee1b998d9100262b68170 100644
--- a/src/message.cpp
+++ b/src/message.cpp
@@ -350,7 +350,8 @@ void MessageIter::copy_data(MessageIter &to)
(
(DBusMessageIter *)&(to._iter),
from.type(),
- from.type() == DBUS_TYPE_VARIANT ? NULL : sig,
+ from.type() == DBUS_TYPE_DICT_ENTRY ||
+ from.type() == DBUS_TYPE_STRUCT ? NULL : sig,
(DBusMessageIter *)&(to_container._iter)
);
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698