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:
0416492
)
Fix check for auth slash split PAZ-899
author
Adam Dickmeiss
<adam@indexdata.dk>
Fri, 8 Nov 2013 18:07:34 +0000
(19:07 +0100)
committer
Adam Dickmeiss
<adam@indexdata.dk>
Fri, 8 Nov 2013 18:07:34 +0000
(19:07 +0100)
src/connection.c
patch
|
blob
|
history
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)
{