This is to allow https or other method to be given. Similar to
MP-425.
+ if (sru && *sru && !strstr(host->url, "://"))
{
char http_hostport[512];
strcpy(http_hostport, "http://");
strcat(http_hostport, host->url);
{
char http_hostport[512];
strcpy(http_hostport, "http://");
strcat(http_hostport, host->url);
- yaz_log(YLOG_LOG, "SRU connect to : %s", http_hostport);
ZOOM_connection_connect(con->link, http_hostport, 0);
}
else
ZOOM_connection_connect(con->link, http_hostport, 0);
}
else