From fc385002d828a940bfed29111ed8a02e4b1d27a3 Mon Sep 17 00:00:00 2001 From: deva Date: Mon, 11 Apr 2011 13:24:41 +0000 Subject: Remove dangling stderr output. --- server/src/journal_commit.cc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/server/src/journal_commit.cc b/server/src/journal_commit.cc index ce344c4..0c1a93d 100644 --- a/server/src/journal_commit.cc +++ b/server/src/journal_commit.cc @@ -109,8 +109,7 @@ int journal_commit(const char *cpr, const char *user, } if(connect(sock, (struct sockaddr *) &sin, sizeof(sin)) < 0) { - ERR_LOG(journal, "Connect() failed!\n"); - perror(":"); + ERR_LOG(journal, "Connect() failed: %s!\n", strerror(errno)); return -1; } #else -- cgit v1.2.3