summaryrefslogtreecommitdiff
path: root/server/src
diff options
context:
space:
mode:
authordeva <deva>2011-04-11 13:24:41 +0000
committerdeva <deva>2011-04-11 13:24:41 +0000
commitfc385002d828a940bfed29111ed8a02e4b1d27a3 (patch)
tree8688adbcbdc4bdc829b86872a91a056a1f064d8b /server/src
parentfbdb0c502893716a65073c68d67b99d62620c32f (diff)
Remove dangling stderr output.
Diffstat (limited to 'server/src')
-rw-r--r--server/src/journal_commit.cc3
1 files changed, 1 insertions, 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