summaryrefslogtreecommitdiff
path: root/tools/private-network-test.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/private-network-test.c')
-rw-r--r--tools/private-network-test.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/private-network-test.c b/tools/private-network-test.c
index 24f9234..3dd115b 100644
--- a/tools/private-network-test.c
+++ b/tools/private-network-test.c
@@ -101,7 +101,7 @@ static void request_private_network(DBusConnection *conn, int *out_fd,
return;
}
- if (dbus_message_iter_init(reply, &array) == FALSE)
+ if (!dbus_message_iter_init(reply, &array))
goto done;
if (dbus_message_iter_get_arg_type(&array) != DBUS_TYPE_UNIX_FD)