/* This file is part of the YAZ toolkit.
- * Copyright (C) 1995-2012 Index Data
+ * Copyright (C) 1995-2013 Index Data
* See the file LICENSE for details.
*/
/**
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