projects
/
pazpar2-moved-to-github.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
test_sru tests against local yaz-test
[pazpar2-moved-to-github.git]
/
src
/
connection.c
diff --git
a/src/connection.c
b/src/connection.c
index
d2c9b70
..
b499b9d
100644
(file)
--- a/
src/connection.c
+++ b/
src/connection.c
@@
-452,7
+452,7
@@
static int connection_connect(struct connection *con, iochan_man_t iochan_man)
{
/* allow splitting user and reset with a blank always */
const char *cp1 = strchr(auth, ' ');
- if (!cp1 && sru && *sru_version)
+ if (!cp1 && sru && *sru)
cp1 = strchr(auth, '/');
if (!cp1)
{