socket: fix output of TCP congestion options

This commit is contained in:
Lennart Poettering
2010-09-14 01:31:41 +02:00
parent 3c4e3e1a9b
commit 83a95334c9
2 changed files with 2 additions and 1 deletions
+1 -1
View 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,
+1
View 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;