diff options
author | Sergey Poznyakoff <gray@gnu.org.ua> | 2007-12-13 09:56:27 +0000 |
---|---|---|
committer | Sergey Poznyakoff <gray@gnu.org.ua> | 2007-12-13 09:56:27 +0000 |
commit | 5f7a34d9062b19e0aed1a135d54277aac3aed3f9 (patch) | |
tree | f471143c57ffcb4d9ddf477bb65e5d0dba8df69a /examples/lsf.c | |
parent | 95a3987bd24e42880d72b1e3d77eccb34226b8f7 (diff) | |
download | mailutils-5f7a34d9062b19e0aed1a135d54277aac3aed3f9.tar.gz mailutils-5f7a34d9062b19e0aed1a135d54277aac3aed3f9.tar.bz2 |
* examples/aclck.c, examples/addr.c, examples/base64.c,
examples/decode2047.c, examples/echosrv.c, examples/encode2047.c,
examples/header.c, examples/http.c, examples/iconv.c,
examples/listop.c, examples/lsf.c, examples/mailcap.c,
examples/mimetest.c, examples/msg-send.c, examples/muemail.c,
examples/murun.c, examples/nntpclient.c, examples/pop3client.c,
examples/sfrom.c, examples/url-parse.c: Include config.h. Use
MU_ASSERT instead of assert.
* include/mailutils/cfg.h (struct mu_cfg_section.offset): New
member.
* include/mailutils/debug.hm4 (MU_ASSERT): New member.
* lib/utmp.c: Include config.h.
* libcfg/Makefile.am (libmucfg_la_SOURCES): Add acl.c.
* libcfg/acl.c: New file.
* libcfg/common.c (cb_debug_level): Immediately set debugging
level.
* mailbox/acl.c: mu_acl_log expands its argument.
* mailbox/cfg_driver.c (mu_create_canned_section)
(mu_create_canned_param): Avoid creating container twice.
* mailbox/cfg_format.c (format_param): Do not pring type if
argname contains a colon.
* mailbox/cfg_parser.y (_scan_tree_helper): Compute target
pointer.
* imap4d/imap4d.c, imap4d/imap4d.h, pop3d/pop3d.c,
pop3d/pop3d.h: Use MU ACLs
Diffstat (limited to 'examples/lsf.c')
-rw-r--r-- | examples/lsf.c | 13 |
1 files changed, 3 insertions, 10 deletions
diff --git a/examples/lsf.c b/examples/lsf.c index bad26b6ad..6a1d31d49 100644 --- a/examples/lsf.c +++ b/examples/lsf.c @@ -16,21 +16,14 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA */ +#ifdef HAVE_CONFIG_H +# include <config.h> +#endif #include <errno.h> #include <stdlib.h> #include <string.h> #include <mailutils/mailutils.h> -#define C(X) do \ -{ \ - int e; \ - if ((e = X) != 0) \ - { \ - mu_error ("%s failed: %s\n", #X, mu_strerror (e)); \ - return 1; \ - } \ -} while (0) - static int ls_printer (void *item, void *data) { |