/* This file is part of Pazpar2.
- Copyright (C) 2006-2013 Index Data
+ Copyright (C) Index Data
Pazpar2 is free software; you can redistribute it and/or modify it under
the terms of the GNU General Public License as published by the Free
}
else
{
- yaz_log(YLOG_LOG, "connect_resolver_host: state=%d", con->state);
con = con->next;
}
}
{
/* 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)
{