summaryrefslogtreecommitdiff
path: root/bus/signals.c
diff options
context:
space:
mode:
authorSimon McVittie <simon.mcvittie@collabora.co.uk>2015-01-06 22:08:47 +0000
committerSimon McVittie <simon.mcvittie@collabora.co.uk>2015-01-06 22:08:47 +0000
commit1650d77bf186bee05f204f40f7e4d7d1c032fad9 (patch)
tree836c6f01586cb1e38255ec73986ea15d53953b52 /bus/signals.c
parent4a7cb0cb6f9d2269b7fc83d491a88f032a69d084 (diff)
downloaddbus-1650d77bf186bee05f204f40f7e4d7d1c032fad9.tar.gz
Fix assertion in regression test to be equality test, not assignment
Bug: https://bugs.freedesktop.org/show_bug.cgi?id=88088
Diffstat (limited to 'bus/signals.c')
-rw-r--r--bus/signals.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bus/signals.c b/bus/signals.c
index 119d8130..4390028f 100644
--- a/bus/signals.c
+++ b/bus/signals.c
@@ -2339,7 +2339,7 @@ test_parsing (void *data)
rule = check_parse (TRUE, "arg7path='/foo'");
if (rule != NULL)
{
- _dbus_assert (rule->flags = BUS_MATCH_ARGS);
+ _dbus_assert (rule->flags == BUS_MATCH_ARGS);
_dbus_assert (rule->args != NULL);
_dbus_assert (rule->args_len == 8);
_dbus_assert (rule->args[7] != NULL);