daemon.c: remove trailing whitespace.
Signed-off-by: Junio C Hamano <junkio@cox.net>maint
parent
fd25c82a80
commit
a935c39727
4
daemon.c
4
daemon.c
|
@ -136,7 +136,7 @@ static int upload(char *dir, int dirlen)
|
||||||
/*
|
/*
|
||||||
* Security on the cheap.
|
* Security on the cheap.
|
||||||
*
|
*
|
||||||
* We want a readable HEAD, usable "objects" directory, and
|
* We want a readable HEAD, usable "objects" directory, and
|
||||||
* a "git-daemon-export-ok" flag that says that the other side
|
* a "git-daemon-export-ok" flag that says that the other side
|
||||||
* is ok with us doing this.
|
* is ok with us doing this.
|
||||||
*/
|
*/
|
||||||
|
@ -444,7 +444,7 @@ static int serve(int port)
|
||||||
for (;;) {
|
for (;;) {
|
||||||
int i;
|
int i;
|
||||||
fds = fds_init;
|
fds = fds_init;
|
||||||
|
|
||||||
if (select(maxfd + 1, &fds, NULL, NULL, NULL) < 0) {
|
if (select(maxfd + 1, &fds, NULL, NULL, NULL) < 0) {
|
||||||
if (errno != EINTR) {
|
if (errno != EINTR) {
|
||||||
error("select failed, resuming: %s",
|
error("select failed, resuming: %s",
|
||||||
|
|
Loading…
Reference in New Issue