summaryrefslogtreecommitdiff
path: root/src/journal-remote
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2015-07-29 12:33:44 +0200
committerLennart Poettering <lennart@poettering.net>2015-07-29 12:38:22 +0200
commit1938ac5136ddd87dd4f0bccc42b6f5d41f4ca6ba (patch)
tree7180e30bcb5803046499741a1b0b2d3f3430a2ab /src/journal-remote
parent87b46c575a14c133fbc408b56b0835f13a918b1d (diff)
socket-util: library calls shouldn't log on their own
Instead, make sure that all callers log properly.
Diffstat (limited to 'src/journal-remote')
-rw-r--r--src/journal-remote/journal-remote.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/journal-remote/journal-remote.c b/src/journal-remote/journal-remote.c
index 1baedf6367..e3bd76051b 100644
--- a/src/journal-remote/journal-remote.c
+++ b/src/journal-remote/journal-remote.c
@@ -1114,6 +1114,7 @@ static int accept_connection(const char* type, int fd,
r = socknameinfo_pretty(&addr->sockaddr, addr->size, &b);
if (r < 0) {
+ log_error_errno(r, "Resolving hostname failed: %m");
close(fd2);
return r;
}