diff options
author | Michael Zucci <zucchi@src.gnome.org> | 2000-05-02 09:57:55 +0800 |
---|---|---|
committer | Michael Zucci <zucchi@src.gnome.org> | 2000-05-02 09:57:55 +0800 |
commit | df0650ac1e84245d0812332f81a101d70d7e19ed (patch) | |
tree | a299857e1ff9cfc85ce0cb558615f63c2c20fced /camel/providers | |
parent | 46a917144878351adb2db43ab27179a271a03d7d (diff) | |
download | gsoc2013-evolution-df0650ac1e84245d0812332f81a101d70d7e19ed.tar gsoc2013-evolution-df0650ac1e84245d0812332f81a101d70d7e19ed.tar.gz gsoc2013-evolution-df0650ac1e84245d0812332f81a101d70d7e19ed.tar.bz2 gsoc2013-evolution-df0650ac1e84245d0812332f81a101d70d7e19ed.tar.lz gsoc2013-evolution-df0650ac1e84245d0812332f81a101d70d7e19ed.tar.xz gsoc2013-evolution-df0650ac1e84245d0812332f81a101d70d7e19ed.tar.zst gsoc2013-evolution-df0650ac1e84245d0812332f81a101d70d7e19ed.zip |
> (func_header_contains): Debug out some search stuff.
> (index_folder): Make sure we index using a decimal uid, since
> thats what everything else indexes off (oops).
> Upped SUMMARY_VERSION as a result.
>
> * camel-folder.h: Removed CamelSearchFunc.
svn path=/trunk/; revision=2741
Diffstat (limited to 'camel/providers')
-rw-r--r-- | camel/providers/mbox/camel-mbox-search.c | 2 | ||||
-rw-r--r-- | camel/providers/mbox/camel-mbox-summary.c | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/camel/providers/mbox/camel-mbox-search.c b/camel/providers/mbox/camel-mbox-search.c index 094533edbd..107984d75b 100644 --- a/camel/providers/mbox/camel-mbox-search.c +++ b/camel/providers/mbox/camel-mbox-search.c @@ -240,7 +240,7 @@ func_header_contains(struct _ESExp *f, int argc, struct _ESExpResult **argv, voi for (i=1;i<argc && !truth;i++) { if (argv[i]->type == ESEXP_RES_STRING && strstr(header, argv[i]->value.string)) { - printf("%s got a match with %s of %s\n", ctx->message_current->info.uid, header, argv[i]->value.string); + r(printf("%s got a match with %s of %s\n", ctx->message_current->info.uid, header, argv[i]->value.string)); truth = TRUE; break; } diff --git a/camel/providers/mbox/camel-mbox-summary.c b/camel/providers/mbox/camel-mbox-summary.c index 4d10709fcd..b4b341fd40 100644 --- a/camel/providers/mbox/camel-mbox-summary.c +++ b/camel/providers/mbox/camel-mbox-summary.c @@ -47,7 +47,7 @@ #define d(x) -#define CAMEL_MBOX_SUMMARY_VERSION 2 +#define CAMEL_MBOX_SUMMARY_VERSION 3 static int safe_write(int fd, char *buffer, size_t towrite); static void camel_mbox_summary_add(CamelMboxSummary *s, CamelMboxMessageInfo *info); @@ -807,7 +807,7 @@ static int index_folder(CamelMboxSummary *s, int startoffset) } /* setup index name for this uid */ - sprintf(name, "%x", newuid); + sprintf(name, "%u", newuid); camel_mime_filter_index_set_name(mfi, name); /* remove all references to this name from the index */ if (s->index) |