X-Git-Url: http://lists.indexdata.com/cgi-bin?a=blobdiff_plain;f=src%2Fhttp_command.c;h=da9771e1b459b0ef1c610ca62c5cdf83519a1b22;hb=de634461a0500801cd71d6a42aff032fa083a127;hp=762a0fda4810d01314c037c3f1a20e3e8995ef75;hpb=216073a7a0d2fdfc9d88c58b1a2ff83fa76d4628;p=pazpar2-moved-to-github.git diff --git a/src/http_command.c b/src/http_command.c index 762a0fd..da9771e 100644 --- a/src/http_command.c +++ b/src/http_command.c @@ -246,7 +246,8 @@ static void cmd_init(struct http_channel *c) char buf[1024]; const char *clear = http_argbyname(c->request, "clear"); const char *service_name = http_argbyname(c->request, "service"); - struct conf_service *service = locate_service(service_name); + struct conf_service *service = locate_service(c->server, + service_name); struct http_session *s = http_session_create(service); struct http_response *rs = c->response;