Hi, On Wed, Jan 27, 2010 at 2:24 AM, Ilari Liusvaara <ilari.liusvaara@xxxxxxxxxxx> wrote: > diff --git a/daemon.c b/daemon.c > index 360635e..6c2bd97 100644 > --- a/daemon.c > +++ b/daemon.c > @@ -399,6 +399,33 @@ static char *xstrdup_tolower(const char *str) > return dup; > } > > +static void parse_host_and_port(char *hostport, char **host, > + char **port) > +{ > + if (*hostport == '[') { > + char *end; > + > + end = strchr(hostport, ']'); > + if (!end) > + die("Invalid reqeuest ('[' without ']')"); s/reqeuest/request/. -- Cheers, Ray Chuan -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html