Mercurial > dovecot > core-2.2
comparison src/lib-storage/index/index-search.c @ 792:d573c53946ac HEAD
Full not-too-well-tested support for SORT extension. Required a few
library interface changes.
author | Timo Sirainen <tss@iki.fi> |
---|---|
date | Tue, 17 Dec 2002 06:28:40 +0200 |
parents | 553f050c8313 |
children | 35abd7a5d381 |
comparison
equal
deleted
inserted
replaced
791:6efced4f80de | 792:d573c53946ac |
---|---|
377 | 377 |
378 t_push(); | 378 t_push(); |
379 | 379 |
380 /* get field from hopefully cached envelope */ | 380 /* get field from hopefully cached envelope */ |
381 envelope = index->lookup_field(index, ctx->rec, DATA_FIELD_ENVELOPE); | 381 envelope = index->lookup_field(index, ctx->rec, DATA_FIELD_ENVELOPE); |
382 if (envelope != NULL) | 382 if (envelope != NULL) { |
383 field = imap_envelope_parse(envelope, env_field); | 383 field = imap_envelope_parse(envelope, env_field, |
384 else { | 384 IMAP_ENVELOPE_RESULT_STRING); |
385 } else { | |
385 index->cache_fields_later(index, DATA_FIELD_ENVELOPE); | 386 index->cache_fields_later(index, DATA_FIELD_ENVELOPE); |
386 field = NULL; | 387 field = NULL; |
387 } | 388 } |
388 | 389 |
389 if (field == NULL) | 390 if (field == NULL) |