git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/4] git-daemon: call logerror() instead of error()
@ 2008-08-14 18:02 Stephen R. van den Berg
  2008-08-14 18:02 ` [PATCH 4/4] git-daemon: rewrite kindergarden, new option --max-connections Stephen R. van den Berg
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Stephen R. van den Berg @ 2008-08-14 18:02 UTC (permalink / raw)
  To: git

Fix wording/case of the two messages.

Signed-off-by: Stephen R. van den Berg <srb@cuci.nl>
---

 daemon.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/daemon.c b/daemon.c
index 8dcde73..93e1106 100644
--- a/daemon.c
+++ b/daemon.c
@@ -836,7 +836,7 @@ static int socksetup(char *listen_addr, int listen_port, int **socklist_p)
 		if (sockfd < 0)
 			continue;
 		if (sockfd >= FD_SETSIZE) {
-			error("too large socket descriptor.");
+			logerror("Socket descriptor too large");
 			close(sockfd);
 			continue;
 		}
@@ -955,7 +955,7 @@ static int service_loop(int socknum, int *socklist)
 
 		if (poll(pfd, socknum + 1, -1) < 0) {
 			if (errno != EINTR) {
-				error("poll failed, resuming: %s",
+				logerror("Poll failed, resuming: %s",
 				      strerror(errno));
 				sleep(1);
 			}

^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2008-08-14 18:03 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-08-14 18:02 [PATCH 1/4] git-daemon: call logerror() instead of error() Stephen R. van den Berg
2008-08-14 18:02 ` [PATCH 4/4] git-daemon: rewrite kindergarden, new option --max-connections Stephen R. van den Berg
2008-08-14 18:02 ` [PATCH 3/4] git-daemon: move almost all code out of the child_handler() Stephen R. van den Berg
2008-08-14 18:02 ` [PATCH 2/4] git-daemon: use LOG_PID, simplify logging code Stephen R. van den Berg

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).