Skip to content

Commit

Permalink
Update configure.ac
Browse files Browse the repository at this point in the history
  • Loading branch information
grosjo committed Apr 3, 2019
1 parent a85e889 commit 705ddbe
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion configure.ac
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
AC_INIT([Dovecot FTS Xapian], [1.0rc1], [jom@grosjo.net], [dovecot-fts-xapian])
AC_INIT([Dovecot FTS Xapian], [1.0], [jom@grosjo.net], [dovecot-fts-xapian])
AC_CONFIG_AUX_DIR([.])
AC_CONFIG_SRCDIR([src])
AC_CONFIG_MACRO_DIR([m4])
Expand Down
2 changes: 1 addition & 1 deletion src/fts-backend-xapian-functions.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ class XQuerySet
s->trim();
t->trim();

if((t->length()<1) || (t->length()<1)) return;
if((s->length()<1) || (t->length()<1)) return;

long i = s->indexOf(" ");
if(i>0)
Expand Down
3 changes: 3 additions & 0 deletions src/fts-backend-xapian.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -465,8 +465,11 @@ static int fts_backend_xapian_lookup(struct fts_backend *_backend, struct mailbo
if((args->value.str == NULL) || (strlen(args->value.str)<1))
{
struct mail_search_arg *a = args->value.subargs;
long c=0;
while(a !=NULL)
{
c++;
i_info("Query(%d): add term(%s) : %s",c,hdr,a->value.str);
qs.add(hdr,a->value.str);
a=a->next;
}
Expand Down

0 comments on commit 705ddbe

Please sign in to comment.