From f1475d1ce07cb86fc7dc51c8c93dd7adc27f5fc4 Mon Sep 17 00:00:00 2001 From: Marcel Holtmann Date: Thu, 29 Jul 2010 21:19:56 -0700 Subject: [PATCH] Fix missing export of current domain name --- src/service.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/service.c b/src/service.c index 2093b0f..af68849 100644 --- a/src/service.c +++ b/src/service.c @@ -913,6 +913,12 @@ static void append_domain(DBusMessageIter *iter, void *user_data) if (is_connected(service) == FALSE) return; + + if (service->domainname == NULL) + return; + + dbus_message_iter_append_basic(iter, + DBUS_TYPE_STRING, &service->domainname); } static void append_domainconfig(DBusMessageIter *iter, void *user_data) -- 2.7.4