X-Git-Url: http://lists.indexdata.dk/cgi-bin?a=blobdiff_plain;f=src%2Fhttp_command.c;h=567037f0945878a12c89917f4153c9a3d4627b6a;hb=ed4485f9293810a599c313635e9eadc78742aa9a;hp=198e8168dff8a43fde8ed04320a6c85d16e8c545;hpb=3977c8df676dae5ee5019a7f63489f08243987f4;p=pazpar2-moved-to-github.git diff --git a/src/http_command.c b/src/http_command.c index 198e816..567037f 100644 --- a/src/http_command.c +++ b/src/http_command.c @@ -936,7 +936,7 @@ static void cmd_show(struct http_channel *c) if (block) { - if (!strcmp(block, "preferred") && !session_preferred_clients_ready(s->psession)) { + if (!strcmp(block, "preferred") && !session_is_preferred_clients_ready(s->psession)) { // if there is already a watch/block. we do not block this one if (session_set_watch(s->psession, SESSION_WATCH_SHOW_PREF, show_records_ready, c, c) != 0)