chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Prep v233.3: Unmask various functions for future coverage tests.
[elogind.git]
/
src
/
libelogind
/
sd-bus
/
bus-match.c
diff --git
a/src/libelogind/sd-bus/bus-match.c
b/src/libelogind/sd-bus/bus-match.c
index feb4ce805010bf30a578afc1851b22bedf0cad8a..3e6930a0d3de2c4ad989369336002e09e0b2bcfc 100644
(file)
--- a/
src/libelogind/sd-bus/bus-match.c
+++ b/
src/libelogind/sd-bus/bus-match.c
@@
-429,6
+429,9
@@
int bus_match_run(
r = bus_match_run(bus, c, m);
if (r != 0)
return r;
+
+ if (bus && bus->match_callbacks_modified)
+ return 0;
}
}
@@
-940,7
+943,7
@@
char *bus_match_to_string(struct bus_match_component *components, unsigned n_com
char *buffer = NULL;
size_t size = 0;
unsigned i;
-
int r;
+ int r;
if (n_components <= 0)
return strdup("");