summaryrefslogtreecommitdiff
path: root/daemon.c
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2014-06-16 10:07:14 -0700
committerJunio C Hamano <gitster@pobox.com>2014-06-16 10:07:15 -0700
commitb4516df9b88989a175f88aa514a187831631f9f8 (patch)
tree6c699d6b39248593193b1cd9ad5d0430ab4a64ee /daemon.c
parent09e13ad5b0f0689418a723289dca7b3c72d538c4 (diff)
parent88d5a6f6cd1b63e1637027322cdfdbeefe38c3ed (diff)
downloadgit-b4516df9b88989a175f88aa514a187831631f9f8.tar.gz
Merge branch 'jk/daemon-tolower'
* jk/daemon-tolower: daemon/config: factor out duplicate xstrdup_tolower
Diffstat (limited to 'daemon.c')
-rw-r--r--daemon.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/daemon.c b/daemon.c
index eba1255684..f9c63e9613 100644
--- a/daemon.c
+++ b/daemon.c
@@ -475,14 +475,6 @@ static void make_service_overridable(const char *name, int ena)
die("No such service %s", name);
}
-static char *xstrdup_tolower(const char *str)
-{
- char *p, *dup = xstrdup(str);
- for (p = dup; *p; p++)
- *p = tolower(*p);
- return dup;
-}
-
static void parse_host_and_port(char *hostport, char **host,
char **port)
{