]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
imapc: Fixed modseq search for previous imapc_features=search change
authorTimo Sirainen <tss@iki.fi>
Tue, 3 Feb 2015 16:47:54 +0000 (18:47 +0200)
committerTimo Sirainen <tss@iki.fi>
Tue, 3 Feb 2015 16:47:54 +0000 (18:47 +0200)
src/lib-storage/index/imapc/imapc-search.c

index bfc770b1d70a4691202748d24ddc3005668d5aea..9223074007d7c747b0c2562d88e3ced38cf1ea19 100644 (file)
@@ -185,7 +185,7 @@ imapc_build_search_query_arg(struct imapc_mailbox *mbox,
        case SEARCH_MODSEQ:
                if ((capa & IMAPC_CAPABILITY_CONDSTORE) == 0)
                        return FALSE;
-               str_printfa(str, "MODSEQ %llu", (unsigned long long)arg->value.modseq);
+               str_printfa(str, "MODSEQ %llu", (unsigned long long)arg->value.modseq->modseq);
                break;
        case SEARCH_INTHREAD:
        case SEARCH_GUID: