From: Lennart Poettering Date: Mon, 13 Sep 2010 23:31:41 +0000 (+0200) Subject: socket: fix output of TCP congestion options X-Git-Tag: v10~6 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=commitdiff_plain;h=83a95334c9e1841595f5eef20938dbd0e1ad7f76 socket: fix output of TCP congestion options --- 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;