summaryrefslogtreecommitdiff
path: root/src/journal-remote/journal-remote.c
diff options
context:
space:
mode:
authorDaniel Mack <github@zonque.org>2015-07-29 13:05:36 +0200
committerDaniel Mack <github@zonque.org>2015-07-29 13:05:36 +0200
commit409f2e178c8a78c2ba610ec7d0bf4aa05f91cdc7 (patch)
treeabf2ce3056428255bc2c5d7edced9bbfb694b316 /src/journal-remote/journal-remote.c
parent39d1a2d05d4cc75c57de2658ceef04caa9928768 (diff)
parent1938ac5136ddd87dd4f0bccc42b6f5d41f4ca6ba (diff)
Merge pull request #769 from poettering/socket-util-no-log
socket-util: library calls shouldn't log on their own
Diffstat (limited to 'src/journal-remote/journal-remote.c')
-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;
}