X-Git-Url: http://lists.indexdata.com/cgi-bin?a=blobdiff_plain;f=src%2Fhost.c;h=9daabc20a85aff5c60407a24249362f42ba7d491;hb=446f32183265d59ee79e2859376c598fa24408e0;hp=7af0c07098030b403f8eadf0b860c60d1530f7b7;hpb=cac3198055174f27e4ab70fe17c8b4fc45125d86;p=pazpar2-moved-to-github.git diff --git a/src/host.c b/src/host.c index 7af0c07..9daabc2 100644 --- a/src/host.c +++ b/src/host.c @@ -55,7 +55,7 @@ static struct host *create_host(const char *url, const char *proxy, else { char *cp; - + host->tproxy = xmalloc (strlen(url) + 10); /* so we can add :port */ strcpy(host->tproxy, url); for (cp = host->tproxy; *cp; cp++)