remove trailing LF in die() messages
LF at the end of format strings given to die() is redundant because die already adds one on its own. Signed-off-by: Alexander Potashev <aspotashev@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
committed by
Junio C Hamano
parent
e89e2ed7c2
commit
d75307084d
2
daemon.c
2
daemon.c
@ -716,7 +716,7 @@ static int socksetup(char *listen_addr, int listen_port, int **socklist_p)
|
||||
|
||||
gai = getaddrinfo(listen_addr, pbuf, &hints, &ai0);
|
||||
if (gai)
|
||||
die("getaddrinfo() failed: %s\n", gai_strerror(gai));
|
||||
die("getaddrinfo() failed: %s", gai_strerror(gai));
|
||||
|
||||
for (ai = ai0; ai; ai = ai->ai_next) {
|
||||
int sockfd;
|
||||
|
||||
Reference in New Issue
Block a user