summaryrefslogtreecommitdiff
path: root/mh/tests/repl.at
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org>2017-06-15 20:04:08 +0300
committerSergey Poznyakoff <gray@gnu.org>2017-06-15 20:04:08 +0300
commit8b5715db380634336a231b0c8573c350992c8dce (patch)
treebdbd33372ceda331f70f7248dd85d63bff0ed40b /mh/tests/repl.at
parent75b1c55e4db1c0b90e898b1375f1489e72719127 (diff)
downloadmailutils-8b5715db380634336a231b0c8573c350992c8dce.tar.gz
mailutils-8b5715db380634336a231b0c8573c350992c8dce.tar.bz2
Make sure all loci are properly initialized before first use.
Clean up semantics of initializers. Each locus type can be initialized either statically (by assigning the MU_LOCUS_*_INITIALIZER macro), or dynamically (by calling mu_locus_*_init function). Whatever method is used, it is important that it be initialized prior to using any other mu_locus_* function. * include/mailutils/locus.h (mu_locus_point_init): Takes single argument. Returns nothing. (mu_locus_range_init): New proto. * libmailutils/locus/locus.c (mu_locus_point_init): Rewrite. (mu_locus_range_init): New function. * libmailutils/cfg/parser.y (mu_cfg_alloc_node): Initialize locus. * libmailutils/tests/logstr.c: Fix printf argyment types. * libmu_sieve/extensions/moderator.c (moderator_filter_message): Initialize locus. * libmu_sieve/sieve-gram.y (node_alloc): Likewise. * mu/libexec/logger.c (parse_locus_point, set_locus): Likewise.
Diffstat (limited to 'mh/tests/repl.at')
0 files changed, 0 insertions, 0 deletions

Return to:

Send suggestions and report system problems to the System administrator.