Fix renamed session function
authorDennis Schafroth <dennis@indexdata.com>
Fri, 3 Sep 2010 11:34:48 +0000 (13:34 +0200)
committerDennis Schafroth <dennis@indexdata.com>
Fri, 3 Sep 2010 11:34:48 +0000 (13:34 +0200)
src/http_command.c

index 198e816..567037f 100644 (file)
@@ -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)