Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
steam
systemd
Commits
883127fd
Commit
883127fd
authored
Jan 30, 2013
by
Mauro Dreissig
Committed by
Zbigniew Jędrzejewski-Szmek
Jan 30, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
systemctl: Fix wrong assertion test
parent
2a4b7e7b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
src/systemctl/systemctl.c
src/systemctl/systemctl.c
+1
-1
No files found.
src/systemctl/systemctl.c
View file @
883127fd
...
@@ -1013,7 +1013,7 @@ static int dot_one(DBusConnection *bus, const char *name, const char *path) {
...
@@ -1013,7 +1013,7 @@ static int dot_one(DBusConnection *bus, const char *name, const char *path) {
while
(
dbus_message_iter_get_arg_type
(
&
sub
)
!=
DBUS_TYPE_INVALID
)
{
while
(
dbus_message_iter_get_arg_type
(
&
sub
)
!=
DBUS_TYPE_INVALID
)
{
const
char
*
prop
;
const
char
*
prop
;
assert
(
dbus_message_iter_get_arg_type
(
&
sub
)
!
=
DBUS_TYPE_DICT_ENTRY
);
assert
(
dbus_message_iter_get_arg_type
(
&
sub
)
=
=
DBUS_TYPE_DICT_ENTRY
);
dbus_message_iter_recurse
(
&
sub
,
&
sub2
);
dbus_message_iter_recurse
(
&
sub
,
&
sub2
);
if
(
bus_iter_get_basic_and_next
(
&
sub2
,
DBUS_TYPE_STRING
,
&
prop
,
true
)
<
0
||
if
(
bus_iter_get_basic_and_next
(
&
sub2
,
DBUS_TYPE_STRING
,
&
prop
,
true
)
<
0
||
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment