]> err.no Git - systemd/commitdiff
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 34068b91921f0dd889ffcbffe60ca225454dd420..da85ca7e8b96bc658865ae2ee60446b729c824d4 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 d28a0a8cf7637b461ebbe8334bc6f82a22e7ce46..ca15c257e8aaff591be7266fc502af2808dbeb91 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;