projects
/
yaz-moved-to-github.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Version 5.4.1
[yaz-moved-to-github.git]
/
src
/
retrieval.c
diff --git
a/src/retrieval.c
b/src/retrieval.c
index
ee1d1ff
..
4c2920a
100644
(file)
--- a/
src/retrieval.c
+++ b/
src/retrieval.c
@@
-1,5
+1,5
@@
/* This file is part of the YAZ toolkit.
/* This file is part of the YAZ toolkit.
- * Copyright (C) 1995-2012 Index Data
+ * Copyright (C) Index Data
* See the file LICENSE for details.
*/
/**
* See the file LICENSE for details.
*/
/**
@@
-337,7
+337,10
@@
int yaz_retrieval_request(yaz_retrieval_t p,
if (backend_schema)
{
if (el->backend_name)
if (backend_schema)
{
if (el->backend_name)
- *backend_schema = el->backend_name;
+ {
+ if (*el->backend_name)
+ *backend_schema = el->backend_name;
+ }
else if (el->name)
*backend_schema = el->name;
else
else if (el->name)
*backend_schema = el->name;
else