From b7955764b8fccc7b9b1d3eb28a656596e8d7aae9 Mon Sep 17 00:00:00 2001 From: WebFreak001 Date: Sun, 23 Apr 2017 21:14:25 +0200 Subject: [PATCH] Fixed DBusAny skipping values after string or bool --- source/ddbus/conv.d | 2 ++ 1 file changed, 2 insertions(+) diff --git a/source/ddbus/conv.d b/source/ddbus/conv.d index 015bce5..efcabec 100644 --- a/source/ddbus/conv.d +++ b/source/ddbus/conv.d @@ -160,8 +160,10 @@ T readIter(T)(DBusMessageIter *iter) if (canDBus!T) { ret.explicitVariant = false; if(ret.type == 's') { ret.str = readIter!string(iter); + return ret; } else if(ret.type == 'b') { ret.boolean = readIter!bool(iter); + return ret; } else if(dbus_type_is_basic(ret.type)) { dbus_message_iter_get_basic(iter, &ret.int64); } else if(ret.type == 'a') {