chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a63599e
)
convert int to boolean for dbus_bool_t
author
Kay Sievers
<kay.sievers@vrfy.org>
Wed, 17 Aug 2011 17:38:07 +0000
(19:38 +0200)
committer
Kay Sievers
<kay.sievers@vrfy.org>
Wed, 17 Aug 2011 17:38:07 +0000
(19:38 +0200)
src/dbus-manager.c
patch
|
blob
|
history
diff --git
a/src/dbus-manager.c
b/src/dbus-manager.c
index ae88895c746255d07f65ffa892b46f7c8e8c1bb6..cfc2afc9f37e8890bc63991da7b54056e134976e 100644
(file)
--- a/
src/dbus-manager.c
+++ b/
src/dbus-manager.c
@@
-444,7
+444,7
@@
static DBusMessage *message_from_file_changes(
if (carries_install_info >= 0) {
dbus_bool_t b;
- b = carries_install_info;
+ b =
!!
carries_install_info;
if (!dbus_message_iter_append_basic(&iter, DBUS_TYPE_BOOLEAN, &b))
goto oom;
}