projects
/
pazpar2-moved-to-github.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3be7a08
)
Avoid appending database for SRU host because it's now handled by ZOOM.
author
Adam Dickmeiss
<adam@indexdata.dk>
Fri, 24 Oct 2008 14:31:16 +0000
(16:31 +0200)
committer
Adam Dickmeiss
<adam@indexdata.dk>
Fri, 24 Oct 2008 14:31:16 +0000
(16:31 +0200)
src/connection.c
patch
|
blob
|
history
diff --git
a/src/connection.c
b/src/connection.c
index
fac727b
..
528fef4
100644
(file)
--- 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;