git-daemon: fix remote port number in log entry
authorGerrit Pape <pape@smarden.org>
Mon, 5 Nov 2007 09:16:22 +0000 (09:16 +0000)
committerJunio C Hamano <gitster@pobox.com>
Tue, 6 Nov 2007 02:39:18 +0000 (18:39 -0800)
commitc67359be45be74e1056d6293c6bb09ee6d00a54a
tree9c425a0ab1ff9c78708bf5462c5954697f406163
parentfb159580a1628947f0a088e24cfe6fe4c81d99d0
git-daemon: fix remote port number in log entry

The port number in struct sockaddr_in needs to be converted from network
byte order to host byte order (on some architectures).

Signed-off-by: Gerrit Pape <pape@smarden.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
daemon.c