daemon: cleanup: factor out xstrdup_tolower()
commit6720e95b305737fddc776f2904c339a0701e6ae2
authorRené Scharfe <rene.scharfe@lsrfire.ath.cx>
Fri, 26 Dec 2008 10:12:15 +0000 (26 11:12 +0100)
committerJunio C Hamano <gitster@pobox.com>
Sat, 27 Dec 2008 03:09:56 +0000 (26 19:09 -0800)
treee40760922e83f5bd13846dfb9f61cf75a1a49b67
parenta583971f15e520c8cb5f9967383903e13c353c86
daemon: cleanup: factor out xstrdup_tolower()

Add xstrdup_tolower(), a helper to get a lower case copy of a
string, and use it in two cases.

Signed-off-by: Rene Scharfe <rene.scharfe@lsrfire.ath.cx>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
daemon.c