From: Adam Dickmeiss Date: Fri, 24 Oct 2008 14:31:16 +0000 (+0200) Subject: Avoid appending database for SRU host because it's now handled by ZOOM. X-Git-Tag: v1.1.0~81^2 X-Git-Url: http://sru.miketaylor.org.uk/?a=commitdiff_plain;h=d4f4953be4ef81eb92e8d55926610db4b69a8d31;p=pazpar2-moved-to-github.git Avoid appending database for SRU host because it's now handled by ZOOM. --- diff --git a/src/connection.c b/src/connection.c index fac727b..528fef4 100644 --- a/src/connection.c +++ b/src/connection.c @@ -398,16 +398,7 @@ static int connection_connect(struct connection *con) if (sru && *sru) strcpy(ipport, "http://"); strcat(ipport, host->ipport); - /* deal with SRU path here because databaseName option is not read in - ZOOM in SRU mode */ - if (sru && *sru) - { - if (*sdb->database->databases[0]) - { - strcat(ipport, "/"); - strcat(ipport, sdb->database->databases[0]); - } - } + ZOOM_connection_connect(link, ipport, 0); con->link = link;