From: Adam Dickmeiss Date: Wed, 17 Dec 2014 13:27:07 +0000 (+0100) Subject: Allow result reuse again X-Git-Tag: v1.12.0~12 X-Git-Url: http://jsfdemo.indexdata.com/cgi-bin?a=commitdiff_plain;h=9a3c5c3ab67208a3bf00630976113cd7ebf68f38;p=pazpar2-moved-to-github.git Allow result reuse again --- diff --git a/src/connection.c b/src/connection.c index 7483118..ec62cf5 100644 --- a/src/connection.c +++ b/src/connection.c @@ -450,6 +450,8 @@ int client_prep_connection(struct client *cl, client_get_id(cl), url); co = client_get_connection(cl); + if (co) + return 2; if (!co) { co = connection_create(cl, url, zproxy,