chiark / gitweb /
socket: fix output of TCP congestion options
authorLennart Poettering <lennart@poettering.net>
Mon, 13 Sep 2010 23:31:41 +0000 (01:31 +0200)
committerLennart Poettering <lennart@poettering.net>
Mon, 13 Sep 2010 23:31:41 +0000 (01:31 +0200)
src/socket.c
src/unit.c

index 34068b9..da85ca7 100644 (file)
@@ -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,
index d28a0a8..ca15c25 100644 (file)
@@ -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;