]> code.citadel.org Git - citadel.git/commitdiff
* fix addressbook view. where did this get lost?
authorWilfried Göesgens <willi@citadel.org>
Sun, 14 Dec 2008 22:06:53 +0000 (22:06 +0000)
committerWilfried Göesgens <willi@citadel.org>
Sun, 14 Dec 2008 22:06:53 +0000 (22:06 +0000)
webcit/messages.c

index 9103e290d5b5ef50941ce8faa42ecc2812496e1d..008dd74eb0acf92d2887a3859b611b930c435cc8 100644 (file)
@@ -605,7 +605,7 @@ void readloop(long oper)
                break;
        case VIEW_ADDRESSBOOK:
                is_singlecard = ibstr("is_singlecard");
-               if (maxmsgs > 1) {
+               if (is_singlecard != 1) {
                        is_addressbook = 1;
                        if (oper == do_search) {
                                snprintf(cmd, sizeof(cmd), "MSGS SEARCH|%s", bstr("query"));
@@ -616,7 +616,7 @@ void readloop(long oper)
                        maxmsgs = 9999999;
                        break;
                }
-
+               break;
        default:
                care_for_empty_list = 1;
                startmsg = lbstr("startmsg");