From d4f4953be4ef81eb92e8d55926610db4b69a8d31 Mon Sep 17 00:00:00 2001 From: Adam Dickmeiss Date: Fri, 24 Oct 2008 16:31:16 +0200 Subject: [PATCH] Avoid appending database for SRU host because it's now handled by ZOOM. --- src/connection.c | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) 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; -- 1.7.10.4