Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Copyright (C) 1998-2022 Index Data
Copyright (C) 1998-2025 Index Data
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
Expand Down
9 changes: 7 additions & 2 deletions NEWS
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
--- 1.9.0 2025/05/06

Use new YAZ utility cql_transform_define_fname;
so that the cql transform handle is not reset when used.

--- 1.8.1 2022/12/04

Upgrade to autoconf 2.69.
Expand Down Expand Up @@ -305,7 +310,7 @@ Updated voyager.xml, config.xml to use it. Default "mods" is still MODS v2.

Make proxy perform keepalive when receiving SIGBUS.

For yaz-proxy, fixed problem with fixup of referenceId's.
For yaz-proxy, fixed problem with fixup of referenceId's.

--- 0.7.6 2004/02/05 Internal release.

Expand All @@ -331,7 +336,7 @@ Fixes for XML formatting for stylesheet conversions.

SRW/SRU gateway for yaz-proxy.

Schema conversion
Schema conversion

--- 0.6 2003/09/04 Third release

Expand Down
26 changes: 13 additions & 13 deletions src/limit-connect.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -93,9 +93,9 @@ LimitConnect::Peer **LimitConnect::Rep::lookup(const char *peername)
Peer **p = &m_peers;
while (*p)
{
if (!strcmp((*p)->m_peername, peername))
break;
p = &(*p)->m_next;
if (!strcmp((*p)->m_peername, peername))
break;
p = &(*p)->m_next;
}
return p;
}
Expand All @@ -104,15 +104,15 @@ void LimitConnect::add_connect(const char *peername)
{
Peer **p = m_p->lookup(peername);
if (!*p)
*p = new Peer(m_p->m_period, peername);
*p = new Peer(m_p->m_period, peername);
(*p)->add_connect();
}

int LimitConnect::get_total(const char *peername)
{
Peer **p = m_p->lookup(peername);
if (!*p)
return 0;
return 0;
return (*p)->m_bw.get_total();
}

Expand All @@ -121,14 +121,14 @@ void LimitConnect::cleanup(bool all)
Peer **p = &m_p->m_peers;
while (*p)
{
Peer *tp = *p;
if (all || (tp->m_bw.get_total() == 0))
{
*p = tp->m_next;
delete tp;
}
else
p = &tp->m_next;
Peer *tp = *p;
if (all || (tp->m_bw.get_total() == 0))
{
*p = tp->m_next;
delete tp;
}
else
p = &tp->m_next;
}
}

Expand Down
4 changes: 2 additions & 2 deletions src/test_query.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@ int tst1(const char *query_str_in, const char *query_expected)

if (strcmp(query_str_out, query_expected))
{
yaz_log(YLOG_LOG, "query mismatch out=%s expected=%s",
query_str_out, query_expected);
yaz_log(YLOG_LOG, "query mismatch out=%s expected=%s",
query_str_out, query_expected);
return 0;
}
return 1;
Expand Down