wok-current annotate dbus-c++/stuff/dbus-c++-0.9.0-copy_data_from_received_message.patch @ rev 25727
Add miss stuff folder for libxml++, dbus-c++
author | Stanislas Leduc <shann@slitaz.org> |
---|---|
date | Tue Nov 05 13:46:37 2024 +0000 (4 weeks ago) |
parents | |
children |
rev | line source |
---|---|
shann@25727 | 1 From 2a770f61c060d19f7fe118c2a066306fa3e9ec3d Mon Sep 17 00:00:00 2001 |
shann@25727 | 2 From: =?UTF-8?q?Th=C3=A9o=20Goudout?= <theo.goudout@mydatakeeper.fr> |
shann@25727 | 3 Date: Thu, 1 Aug 2019 08:24:29 +0000 |
shann@25727 | 4 Subject: [PATCH] Fix assert fail when copying data from received message |
shann@25727 | 5 |
shann@25727 | 6 --- |
shann@25727 | 7 src/message.cpp | 4 +++- |
shann@25727 | 8 1 file changed, 3 insertions(+), 1 deletion(-) |
shann@25727 | 9 |
shann@25727 | 10 diff --git a/src/message.cpp b/src/message.cpp |
shann@25727 | 11 index 3f0cac4..1c4caab 100644 |
shann@25727 | 12 --- a/src/message.cpp |
shann@25727 | 13 +++ b/src/message.cpp |
shann@25727 | 14 @@ -350,7 +350,9 @@ void MessageIter::copy_data(MessageIter &to) |
shann@25727 | 15 ( |
shann@25727 | 16 (DBusMessageIter *) & (to._iter), |
shann@25727 | 17 from.type(), |
shann@25727 | 18 - from.type() == DBUS_TYPE_VARIANT ? NULL : sig, |
shann@25727 | 19 + (from.type() == DBUS_TYPE_STRUCT || from.type() == DBUS_TYPE_DICT_ENTRY) |
shann@25727 | 20 + ? NULL |
shann@25727 | 21 + : sig, |
shann@25727 | 22 (DBusMessageIter *) & (to_container._iter) |
shann@25727 | 23 ); |
shann@25727 | 24 |
shann@25727 | 25 -- |
shann@25727 | 26 2.22.0 |
shann@25727 | 27 |