summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org.ua>2008-10-17 15:32:35 +0000
committerSergey Poznyakoff <gray@gnu.org.ua>2008-10-17 15:32:35 +0000
commit9106fc888e53df185181554a82d3fd1131755685 (patch)
tree5de51054bae87212b4d53a19c64e0faf5bd5d4f6
parentec874886ab759a9db98d665685f7fb618cc95d4d (diff)
downloadmailutils-9106fc888e53df185181554a82d3fd1131755685.tar.gz
mailutils-9106fc888e53df185181554a82d3fd1131755685.tar.bz2
Bugfix
* include/mailutils/libsieve.h (mu_sieve_match_part_checker): New prototype. * libsieve/comparator.c (mu_sv_match_part_checker): Rename back to mu_sieve_match_part_checker. The function was mistakingly renamed on 2008-07-19. All references updated. * libsieve/tests.c: Likewise. * libsieve/sieve.h (mu_sv_match_part_checker): Remove prototype.
-rw-r--r--ChangeLog8
-rw-r--r--include/mailutils/libsieve.h5
-rw-r--r--libsieve/comparator.c2
-rw-r--r--libsieve/sieve.h3
-rw-r--r--libsieve/tests.c2
5 files changed, 13 insertions, 7 deletions
diff --git a/ChangeLog b/ChangeLog
index e29f49c20..20bc83767 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,13 @@
2008-10-17 Sergey Poznyakoff <gray@gnu.org.ua>
+ * include/mailutils/libsieve.h (mu_sieve_match_part_checker): New
+ prototype.
+ * libsieve/comparator.c (mu_sv_match_part_checker): Rename back to
+ mu_sieve_match_part_checker. The function was mistakingly renamed
+ on 2008-07-19. All references updated.
+ * libsieve/tests.c: Likewise.
+ * libsieve/sieve.h (mu_sv_match_part_checker): Remove prototype.
+
* doc/texinfo/programs.texi: Update.
2008-10-16 Sergey Poznyakoff <gray@gnu.org.ua>
diff --git a/include/mailutils/libsieve.h b/include/mailutils/libsieve.h
index 1ea543f07..875cc58a2 100644
--- a/include/mailutils/libsieve.h
+++ b/include/mailutils/libsieve.h
@@ -1,6 +1,6 @@
/* GNU Mailutils -- a suite of utilities for electronic mail
Copyright (C) 1999, 2000, 2001, 2002, 2005,
- 2006, 2007 Free Software Foundation, Inc.
+ 2006, 2007, 2008 Free Software Foundation, Inc.
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
@@ -191,7 +191,8 @@ int mu_sieve_tag_lookup (mu_list_t taglist, char *name,
int mu_sieve_load_ext (mu_sieve_machine_t mach, const char *name);
int mu_sieve_match_part_checker (const char *name, mu_list_t tags,
mu_list_t args);
-
+int mu_sieve_match_part_checker (const char *name, mu_list_t tags,
+ mu_list_t args);
/* Operations in value lists */
mu_sieve_value_t *mu_sieve_value_get (mu_list_t vlist, size_t index);
int mu_sieve_vlist_do (mu_sieve_value_t * val, mu_list_action_t * ac,
diff --git a/libsieve/comparator.c b/libsieve/comparator.c
index d576844db..7a16387b7 100644
--- a/libsieve/comparator.c
+++ b/libsieve/comparator.c
@@ -206,7 +206,7 @@ comp_false (const char *pattern, const char *text)
}
int
-mu_sv_match_part_checker (const char *name, mu_list_t tags, mu_list_t args)
+mu_sieve_match_part_checker (const char *name, mu_list_t tags, mu_list_t args)
{
mu_iterator_t itr;
mu_sieve_runtime_tag_t *match = NULL;
diff --git a/libsieve/sieve.h b/libsieve/sieve.h
index 4e1953455..4942bb565 100644
--- a/libsieve/sieve.h
+++ b/libsieve/sieve.h
@@ -130,8 +130,5 @@ void _mu_sv_instr_nop (mu_sieve_machine_t mach);
void _mu_sv_instr_source (mu_sieve_machine_t mach);
void _mu_sv_instr_line (mu_sieve_machine_t mach);
-int mu_sv_match_part_checker (const char *name, mu_list_t tags,
- mu_list_t args);
-
int mu_sv_load_add_path (mu_list_t path);
int mu_sv_load_add_dir (mu_sieve_machine_t mach, const char *name);
diff --git a/libsieve/tests.c b/libsieve/tests.c
index 058e95ce5..627a191a2 100644
--- a/libsieve/tests.c
+++ b/libsieve/tests.c
@@ -407,7 +407,7 @@ static mu_sieve_tag_def_t mime_tags[] = {
{ address_part_tags, NULL }
#define MATCH_PART_GROUP \
- { match_part_tags, mu_sv_match_part_checker }
+ { match_part_tags, mu_sieve_match_part_checker }
#define SIZE_GROUP { size_tags, NULL }

Return to:

Send suggestions and report system problems to the System administrator.