X-Git-Url: http://sru.miketaylor.org.uk/?a=blobdiff_plain;f=index%2Fzebrasrv.c;h=6ecbecf3473ef02612bfdabdb058eb203baceba9;hb=86702aad7008abed6afef80feed08b3e4e1cbcd1;hp=bbc354a7ea0d34d74e2a44d1f299fe1253b5ce1a;hpb=538b41355b5607b4bd09c9c98682694fd6628940;p=idzebra-moved-to-github.git diff --git a/index/zebrasrv.c b/index/zebrasrv.c index bbc354a..6ecbecf 100644 --- a/index/zebrasrv.c +++ b/index/zebrasrv.c @@ -1,4 +1,4 @@ -/* $Id: zebrasrv.c,v 1.7 2007-01-17 13:22:53 adam Exp $ +/* $Id: zebrasrv.c,v 1.9 2007-01-17 15:35:48 adam Exp $ Copyright (C) 1995-2007 Index Data ApS @@ -262,7 +262,7 @@ static void search_terms(ZebraHandle zh, bend_search_rr *r) } -static int busy_handler(void *client_data, ZebraHandle zh) +static int break_handler(void *client_data) { bend_association assoc =(bend_association) client_data; if (!bend_assoc_is_alive(assoc)) @@ -283,7 +283,7 @@ int bend_search(void *handle, bend_search_rr *r) zebra_result (zh, &r->errcode, &r->errstring); return 0; } - zebra_set_busy_handler(zh, busy_handler, r->association); + zebra_set_break_handler(zh, break_handler, r->association); yaz_log (YLOG_DEBUG, "ResultSet '%s'", r->setname); switch (r->query->which) { @@ -309,7 +309,7 @@ int bend_search(void *handle, bend_search_rr *r) default: r->errcode = YAZ_BIB1_QUERY_TYPE_UNSUPP; } - zebra_set_busy_handler(zh, 0, 0); + zebra_set_break_handler(zh, 0, 0); return 0; }