chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
journal: Fix navigating backwards missing entries
[elogind.git]
/
src
/
core
/
dbus.c
diff --git
a/src/core/dbus.c
b/src/core/dbus.c
index 79cf414eeee8161f38c4d3228ca38b18bcf2c35e..87da9335a8d8035d4a9f23fcd5e560efd08764d6 100644
(file)
--- a/
src/core/dbus.c
+++ b/
src/core/dbus.c
@@
-1144,15
+1144,20
@@
void bus_track_serialize(sd_bus_track *t, FILE *f) {
int bus_track_deserialize_item(char ***l, const char *line) {
const char *e;
int bus_track_deserialize_item(char ***l, const char *line) {
const char *e;
+ int r;
assert(l);
assert(line);
e = startswith(line, "subscribed=");
if (!e)
assert(l);
assert(line);
e = startswith(line, "subscribed=");
if (!e)
- return -EINVAL;
+ return 0;
+
+ r = strv_extend(l, e);
+ if (r < 0)
+ return r;
- return
strv_extend(l, e)
;
+ return
1
;
}
int bus_track_coldplug(Manager *m, sd_bus_track **t, char ***l) {
}
int bus_track_coldplug(Manager *m, sd_bus_track **t, char ***l) {