chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
list: make our list macros a bit easier to use by not requring type spec on each...
[elogind.git]
/
src
/
journal
/
sd-journal.c
diff --git
a/src/journal/sd-journal.c
b/src/journal/sd-journal.c
index 7700d6cb128a1cc7de0d2d52a9ec5f9667b65256..3ccb14a242832fa2b4d0e0c903313d40004bed16 100644
(file)
--- a/
src/journal/sd-journal.c
+++ b/
src/journal/sd-journal.c
@@
-186,7
+186,7
@@
static Match *match_new(Match *p, MatchType t) {
if (p) {
m->parent = p;
if (p) {
m->parent = p;
- LIST_PREPEND(
Match,
matches, p->matches, m);
+ LIST_PREPEND(matches, p->matches, m);
}
return m;
}
return m;
@@
-199,7
+199,7
@@
static void match_free(Match *m) {
match_free(m->matches);
if (m->parent)
match_free(m->matches);
if (m->parent)
- LIST_REMOVE(
Match,
matches, m->parent->matches, m);
+ LIST_REMOVE(matches, m->parent->matches, m);
free(m->data);
free(m);
free(m->data);
free(m);