From 83a95334c9e1841595f5eef20938dbd0e1ad7f76 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Tue, 14 Sep 2010 01:31:41 +0200 Subject: [PATCH] socket: fix output of TCP congestion options --- src/socket.c | 2 +- src/unit.c | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/socket.c b/src/socket.c index 34068b919..da85ca7e8 100644 --- a/src/socket.c +++ b/src/socket.c @@ -385,7 +385,7 @@ static void socket_dump(Unit *u, FILE *f, const char *prefix) { prefix, s->directory_mode, prefix, yes_no(s->keep_alive), prefix, yes_no(s->free_bind), - prefix, s->tcp_congestion); + prefix, strna(s->tcp_congestion)); if (s->control_pid > 0) fprintf(f, diff --git a/src/unit.c b/src/unit.c index d28a0a8cf..ca15c257e 100644 --- a/src/unit.c +++ b/src/unit.c @@ -440,6 +440,7 @@ static void merge_dependencies(Unit *u, Unit *other, UnitDependency d) { assert(other); assert(d < _UNIT_DEPENDENCY_MAX); + /* Fix backwards pointers */ SET_FOREACH(back, other->meta.dependencies[d], i) { UnitDependency k; -- 2.30.2