git.99rst.org
/
git.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
| inline |
side by side
(parent:
eb6c403
)
daemon: fix error message after bind()
author
René Scharfe
<redacted>
Wed, 1 Oct 2014 10:18:15 +0000
(12:18 +0200)
committer
Junio C Hamano
<redacted>
Wed, 1 Oct 2014 20:34:54 +0000
(13:34 -0700)
Signed-off-by: Rene Scharfe <redacted>
Signed-off-by: Junio C Hamano <redacted>
daemon.c
patch
|
blob
|
history
diff --git
a/daemon.c
b/daemon.c
index 25af533b97ec1eeb74fef3d51e97dc99f248fa98..3be38f4dbcb0e9f79a68ceccb33f29607536df41 100644
(file)
--- a/
daemon.c
+++ b/
daemon.c
@@
-950,7
+950,7
@@
static int setup_named_sock(char *listen_addr, int listen_port, struct socketlis
}
if ( bind(sockfd, (struct sockaddr *)&sin, sizeof sin) < 0 ) {
- logerror("Could not
listen
to %s: %s",
+ logerror("Could not
bind
to %s: %s",
ip2str(AF_INET, (struct sockaddr *)&sin, sizeof(sin)),
strerror(errno));
close(sockfd);
git clone https://git.99rst.org/PROJECT